Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8165/0.8165, allocations: 133.6 MB / 141.6 MB, free: 2.934 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.5 MB / 395.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008778/0.0008776, allocations: 102.8 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.35e-05, allocations: 4 kB / 0.5536 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.391, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.5269, allocations: 111.3 MB / 0.7426 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.5272, allocations: 79.95 kB / 0.7427 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007701/0.5349, allocations: 2.729 MB / 0.7453 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/0.535, allocations: 0 / 0.7453 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.535, allocations: 0 / 0.7453 GB, free: 8.605 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003847/0.5354, allocations: 338.5 kB / 0.7457 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.5354, allocations: 12.02 kB / 0.7457 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.5355, allocations: 7.906 kB / 0.7457 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.5357, allocations: 171 kB / 0.7458 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.5357, allocations: 0 / 0.7458 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.5357, allocations: 7.922 kB / 0.7458 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.239e-05/0.5358, allocations: 12 kB / 0.7459 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.5359, allocations: 68.25 kB / 0.7459 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5359, allocations: 0 / 0.7459 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.536, allocations: 0 / 0.7459 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.536, allocations: 0 / 0.7459 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.5365, allocations: 245.5 kB / 0.7462 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.5366, allocations: 38.52 kB / 0.7462 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.5366, allocations: 20.86 kB / 0.7462 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.5366, allocations: 0 / 0.7462 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.5368, allocations: 55.48 kB / 0.7463 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.5368, allocations: 0 / 0.7463 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002775/0.5371, allocations: 61.59 kB / 0.7463 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/0.5372, allocations: 110.7 kB / 0.7464 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.5373, allocations: 101 kB / 0.7465 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.5373, allocations: 29.64 kB / 0.7466 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.5374, allocations: 80.14 kB / 0.7466 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.5374, allocations: 15.84 kB / 0.7466 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-06/0.5374, allocations: 0 / 0.7466 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5376, allocations: 322.7 kB / 0.747 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.068e-05/0.5376, allocations: 12 kB / 0.747 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.5376, allocations: 30.58 kB / 0.747 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.5377, allocations: 12.02 kB / 0.747 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5377, allocations: 0 / 0.747 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001048/0.5378, allocations: 53.61 kB / 0.7471 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5378, allocations: 8 kB / 0.7471 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.5378, allocations: 0 / 0.7471 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5379, allocations: 3.984 kB / 0.7471 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.5379, allocations: 7.938 kB / 0.7471 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.538, allocations: 0 / 0.7471 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.5381, allocations: 16.42 kB / 0.7471 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.5381, allocations: 0 / 0.7471 GB, free: 6.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.728e-05/0.5382, allocations: 112.9 kB / 0.7472 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001011/0.5383, allocations: 61.69 kB / 0.7473 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.5383, allocations: 4 kB / 0.7473 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.5384, allocations: 12.11 kB / 0.7473 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5384, allocations: 0 / 0.7473 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5384, allocations: 0 / 0.7473 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5384, allocations: 0 / 0.7473 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.5385, allocations: 150.1 kB / 0.7474 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5385, allocations: 4 kB / 0.7474 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.5386, allocations: 7.938 kB / 0.7474 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5386, allocations: 0 / 0.7474 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.5386, allocations: 0 / 0.7474 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5386, allocations: 0 / 0.7474 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5386, allocations: 0 / 0.7474 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.5388, allocations: 93.14 kB / 0.7475 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.5388, allocations: 85.09 kB / 0.7476 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.5389, allocations: 4 kB / 0.7476 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.539, allocations: 11.98 kB / 0.7476 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.539, allocations: 4 kB / 0.7476 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.5391, allocations: 0 / 0.7476 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.246e-05/0.5391, allocations: 87.27 kB / 0.7477 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5391, allocations: 0 / 0.7477 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002033/0.5393, allocations: 15.94 kB / 0.7477 GB, free: 5.844 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004665/0.5398, allocations: 0.6324 MB / 0.7483 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.5399, allocations: 24 kB / 0.7484 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5399, allocations: 3.938 kB / 0.7484 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.199e-05/0.54, allocations: 16 kB / 0.7484 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.5401, allocations: 5.828 kB / 0.7484 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.5405, allocations: 105.6 kB / 0.7485 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.5408, allocations: 0.6807 MB / 0.7491 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.5408, allocations: 7.984 kB / 0.7492 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.5408, allocations: 11.44 kB / 0.7492 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/0.5408, allocations: 0 / 0.7492 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.5612, allocations: 1.171 MB / 0.7503 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.5615, allocations: 166.4 kB / 0.7505 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.084, allocations: 0 / 0.7505 GB, free: 2.926 MB / 0.5261 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)