Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.002058/0.002058, allocations: 174.4 kB / 7.646 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.7909/0.7909, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.46/1.46, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008525/0.0008525, allocations: 101.9 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.145e-05/2.148e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4252, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.5644, allocations: 111.5 MB / 0.7428 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.5646, allocations: 79.94 kB / 0.7429 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006221/0.5709, allocations: 2.389 MB / 0.7452 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5709, allocations: 4.062 kB / 0.7452 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.5709, allocations: 7.938 kB / 0.7452 GB, free: 8.73 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002823/0.5712, allocations: 346.5 kB / 0.7455 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.5713, allocations: 11.97 kB / 0.7455 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.5713, allocations: 75.28 kB / 0.7456 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.5715, allocations: 246.3 kB / 0.7459 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/0.5715, allocations: 154.5 kB / 0.746 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.5716, allocations: 154.6 kB / 0.7461 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.321e-05/0.5717, allocations: 150.6 kB / 0.7463 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.115e-05/0.5717, allocations: 105 kB / 0.7464 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.5718, allocations: 75.28 kB / 0.7465 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.5718, allocations: 150.6 kB / 0.7466 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.635e-05/0.5719, allocations: 154.5 kB / 0.7468 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.5721, allocations: 442.4 kB / 0.7472 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/0.5722, allocations: 169.1 kB / 0.7473 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.5723, allocations: 80.14 kB / 0.7474 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.5723, allocations: 75.28 kB / 0.7475 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.5723, allocations: 109.8 kB / 0.7476 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.5723, allocations: 4 kB / 0.7476 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.754e-05/0.5724, allocations: 29.64 kB / 0.7476 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.5725, allocations: 52.39 kB / 0.7477 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.5725, allocations: 96.98 kB / 0.7478 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.5726, allocations: 25.7 kB / 0.7478 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.5726, allocations: 80.14 kB / 0.7479 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-06/0.5726, allocations: 128 / 0.7479 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-07/0.5726, allocations: 4 kB / 0.7479 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5727, allocations: 310.8 kB / 0.7482 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-06/0.5727, allocations: 0 / 0.7482 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-06/0.5727, allocations: 0 / 0.7482 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.5728, allocations: 75.28 kB / 0.7482 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.203e-05/0.5728, allocations: 75.28 kB / 0.7483 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.898e-05/0.5728, allocations: 33.66 kB / 0.7483 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.5729, allocations: 79.28 kB / 0.7484 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/0.5729, allocations: 87.22 kB / 0.7485 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.309e-05/0.573, allocations: 162.5 kB / 0.7487 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.763e-05/0.573, allocations: 75.28 kB / 0.7487 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.416e-05/0.5731, allocations: 154.5 kB / 0.7489 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.5731, allocations: 75.28 kB / 0.7489 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.5732, allocations: 79.28 kB / 0.749 GB, free: 4.602 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.65e-05/0.5733, allocations: 255.5 kB / 0.7493 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.839e-05/0.5733, allocations: 146.5 kB / 0.7494 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.5734, allocations: 101 kB / 0.7495 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.5734, allocations: 108.7 kB / 0.7496 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.095e-05/0.5735, allocations: 180.3 kB / 0.7498 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.553e-05/0.5736, allocations: 184.3 kB / 0.75 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.356e-05/0.5736, allocations: 184.2 kB / 0.7501 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.5738, allocations: 373.8 kB / 0.7505 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-05/0.5739, allocations: 105 kB / 0.7506 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.5739, allocations: 108.9 kB / 0.7507 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.412e-05/0.574, allocations: 188.1 kB / 0.7509 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.574, allocations: 185.2 kB / 0.751 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.807e-05/0.5741, allocations: 184.2 kB / 0.7512 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.257e-05/0.5742, allocations: 180.3 kB / 0.7514 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.5743, allocations: 303.8 kB / 0.7517 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.5744, allocations: 186.1 kB / 0.7519 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.5744, allocations: 180.2 kB / 0.752 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.548e-05/0.5745, allocations: 109.4 kB / 0.7521 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.5746, allocations: 180.3 kB / 0.7523 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.5746, allocations: 101 kB / 0.7524 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.457e-05/0.5747, allocations: 75.28 kB / 0.7525 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.362e-06/0.5747, allocations: 4.094 kB / 0.7525 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003159/0.575, allocations: 63.84 kB / 0.7525 GB, free: 0.7773 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0007728/0.5758, allocations: 0.9543 MB / 0.7535 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 3.779e-05/0.5758, allocations: 0 / 0.7535 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5758, allocations: 3.938 kB / 0.7535 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.5758, allocations: 0 / 0.7535 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.5761, allocations: 0.5263 MB / 0.754 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.5765, allocations: 188.9 kB / 0.7542 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.5767, allocations: 0.6768 MB / 0.7548 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.759e-06/0.5768, allocations: 0 / 0.7548 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.5768, allocations: 7.438 kB / 0.7548 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.5768, allocations: 0 / 0.7548 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.5979, allocations: 1.346 MB / 0.7562 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.5981, allocations: 192.8 kB / 0.7563 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/2.087, allocations: 4 kB / 0.7563 GB, free: 12.83 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)