Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.0009209/0.000921, allocations: 172.9 kB / 7.647 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.7425/0.7425, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.613/1.613, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008844/0.0008849, allocations: 101.1 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.277e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4689, allocations: 82.3 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.6196, allocations: 115.4 MB / 0.7466 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.6199, allocations: 91.94 kB / 0.7467 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02393/0.6438, allocations: 8.821 MB / 0.7553 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.123e-06/0.6439, allocations: 0 / 0.7553 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.6439, allocations: 4 kB / 0.7553 GB, free: 14.46 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008001/0.6447, allocations: 0.4989 MB / 0.7558 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6448, allocations: 12.03 kB / 0.7558 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.645, allocations: 31.62 kB / 0.7558 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.6454, allocations: 277.5 kB / 0.7561 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.6455, allocations: 8 kB / 0.7561 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.6455, allocations: 8 kB / 0.7561 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009323/0.6464, allocations: 0.7371 MB / 0.7568 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.6468, allocations: 205 kB / 0.757 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.6468, allocations: 0 / 0.757 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.6468, allocations: 0 / 0.757 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.6469, allocations: 4 kB / 0.757 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009357/0.6478, allocations: 0.5633 MB / 0.7576 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.6483, allocations: 281.7 kB / 0.7579 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.6484, allocations: 97.39 kB / 0.7579 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.6485, allocations: 24.23 kB / 0.758 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.6488, allocations: 167.5 kB / 0.7581 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.6488, allocations: 4 kB / 0.7581 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.0005048/0.6493, allocations: 272.9 kB / 0.7584 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.6494, allocations: 132.5 kB / 0.7585 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.6497, allocations: 252.5 kB / 0.7588 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.6497, allocations: 29.7 kB / 0.7588 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.6498, allocations: 136.7 kB / 0.7589 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.499e-05/0.6499, allocations: 106.4 kB / 0.759 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.6499, allocations: 0 / 0.759 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6501, allocations: 346.8 kB / 0.7594 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.6502, allocations: 67.98 kB / 0.7594 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.6504, allocations: 119.5 kB / 0.7595 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.6506, allocations: 103.8 kB / 0.7596 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6506, allocations: 0 / 0.7596 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004643/0.6511, allocations: 253.8 kB / 0.7599 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.6511, allocations: 7.938 kB / 0.7599 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6511, allocations: 4 kB / 0.7599 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.6511, allocations: 4 kB / 0.7599 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.6514, allocations: 59.91 kB / 0.7599 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6514, allocations: 0 / 0.7599 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.6516, allocations: 31.72 kB / 0.76 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.6517, allocations: 12 kB / 0.76 GB, free: 9.414 MB / 0.5417 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 (36): * Single equations (assignments): 36 * 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 0.000123/0.6518, allocations: 108.9 kB / 0.7601 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004964/0.6523, allocations: 269.2 kB / 0.7603 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.6524, allocations: 27.72 kB / 0.7604 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000761/0.6532, allocations: 364.8 kB / 0.7607 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.6532, allocations: 7.953 kB / 0.7607 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6532, allocations: 4 kB / 0.7607 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.6532, allocations: 3.984 kB / 0.7607 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.6536, allocations: 309.8 kB / 0.761 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6536, allocations: 0 / 0.761 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.6539, allocations: 59.91 kB / 0.7611 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.6539, allocations: 4 kB / 0.7611 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.6539, allocations: 8 kB / 0.7611 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.6539, allocations: 4 kB / 0.7611 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6539, allocations: 3.984 kB / 0.7611 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.6545, allocations: 298.1 kB / 0.7614 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.6547, allocations: 160.6 kB / 0.7615 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.6547, allocations: 0 / 0.7615 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.655, allocations: 27.97 kB / 0.7616 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.6551, allocations: 27.97 kB / 0.7616 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.6551, allocations: 11.98 kB / 0.7616 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002415/0.6554, allocations: 220.4 kB / 0.7618 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6554, allocations: 3.938 kB / 0.7618 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003955/0.6558, allocations: 67.83 kB / 0.7619 GB, free: 7.367 MB / 0.5417 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 (35): * Single equations (assignments): 34 * 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.001658/0.6574, allocations: 1.077 MB / 0.7629 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004624/0.6579, allocations: 204.3 kB / 0.7631 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6579, allocations: 0 / 0.7631 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.6581, allocations: 124.4 kB / 0.7633 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.6585, allocations: 28.42 kB / 0.7633 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009833/0.6594, allocations: 472.6 kB / 0.7637 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.6598, allocations: 0.7734 MB / 0.7645 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000365/0.6602, allocations: 155.1 kB / 0.7646 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.6604, allocations: 99.39 kB / 0.7647 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.6604, allocations: 0 / 0.7647 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3573/1.018, allocations: 5.462 MB / 0.7701 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002805/1.018, allocations: 197 kB / 0.7703 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.906, allocations: 4 kB / 0.7703 GB, free: 14.83 MB / 0.5573 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)