Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_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.001068/0.001068, allocations: 173.9 kB / 7.648 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.8524/0.8524, allocations: 133.6 MB / 141.6 MB, free: 2.879 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.604/1.604, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0008484/0.0008484, allocations: 107.2 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.16e-05/2.162e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4258, allocations: 82.31 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.5767, allocations: 111.5 MB / 0.7428 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.577, allocations: 83.95 kB / 0.7429 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006432/0.5835, allocations: 2.395 MB / 0.7452 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5835, allocations: 0 / 0.7452 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.5836, allocations: 0 / 0.7452 GB, free: 8.75 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.0003907/0.584, allocations: 350.5 kB / 0.7455 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.584, allocations: 8.031 kB / 0.7455 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.5841, allocations: 79.28 kB / 0.7456 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.5843, allocations: 250.2 kB / 0.7459 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/0.5844, allocations: 150.6 kB / 0.746 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.5844, allocations: 150.6 kB / 0.7461 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.051e-05/0.5845, allocations: 154.6 kB / 0.7463 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.417e-05/0.5846, allocations: 101 kB / 0.7464 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.5846, allocations: 79.28 kB / 0.7465 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/0.5847, allocations: 154.6 kB / 0.7466 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/0.5847, allocations: 154.5 kB / 0.7468 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.585, allocations: 422.5 kB / 0.7472 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.887e-05/0.5851, allocations: 184.9 kB / 0.7473 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.5851, allocations: 80.14 kB / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.5852, allocations: 79.27 kB / 0.7475 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.5852, allocations: 113.8 kB / 0.7476 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.5852, allocations: 0 / 0.7476 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 7.528e-05/0.5853, allocations: 25.7 kB / 0.7476 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.5853, allocations: 60.33 kB / 0.7477 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.306e-05/0.5854, allocations: 89 kB / 0.7478 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.5855, allocations: 25.7 kB / 0.7478 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.5855, allocations: 80.14 kB / 0.7479 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.72e-07/0.5855, allocations: 0 / 0.7479 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-07/0.5855, allocations: 0 / 0.7479 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5856, allocations: 314.8 kB / 0.7482 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-06/0.5856, allocations: 0 / 0.7482 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-06/0.5856, allocations: 4.125 kB / 0.7482 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.5857, allocations: 79.28 kB / 0.7482 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.132e-05/0.5857, allocations: 75.28 kB / 0.7483 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.417e-05/0.5858, allocations: 33.64 kB / 0.7483 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.5858, allocations: 83.28 kB / 0.7484 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/0.5858, allocations: 79.22 kB / 0.7485 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-05/0.5859, allocations: 154.6 kB / 0.7486 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.058e-05/0.586, allocations: 75.28 kB / 0.7487 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-05/0.586, allocations: 158.5 kB / 0.7489 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.5861, allocations: 79.28 kB / 0.7489 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.5861, allocations: 79.27 kB / 0.749 GB, free: 4.613 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 0.0001062/0.5862, allocations: 253.3 kB / 0.7493 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.163e-05/0.5863, allocations: 146.5 kB / 0.7494 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.5864, allocations: 105 kB / 0.7495 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.5864, allocations: 112.7 kB / 0.7496 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.278e-05/0.5865, allocations: 180.3 kB / 0.7498 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.429e-05/0.5866, allocations: 176.3 kB / 0.75 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.01e-05/0.5867, allocations: 180.2 kB / 0.7501 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.5869, allocations: 385.8 kB / 0.7505 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.603e-05/0.5869, allocations: 105 kB / 0.7506 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.5869, allocations: 104.9 kB / 0.7507 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.008e-05/0.587, allocations: 180.2 kB / 0.7509 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.5871, allocations: 181.1 kB / 0.751 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.69e-05/0.5872, allocations: 188.2 kB / 0.7512 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.887e-05/0.5872, allocations: 184.2 kB / 0.7514 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.5874, allocations: 303.8 kB / 0.7517 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.5875, allocations: 182.1 kB / 0.7519 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.5876, allocations: 180.2 kB / 0.752 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.5877, allocations: 113.3 kB / 0.7521 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.683e-05/0.5877, allocations: 180.3 kB / 0.7523 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.5878, allocations: 105 kB / 0.7524 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.5878, allocations: 75.28 kB / 0.7525 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5878, allocations: 4 kB / 0.7525 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003658/0.5882, allocations: 51.97 kB / 0.7525 GB, free: 0.8008 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.0008407/0.589, allocations: 0.964 MB / 0.7535 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 3.685e-05/0.5891, allocations: 0 / 0.7535 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5891, allocations: 0 / 0.7535 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.02e-06/0.5891, allocations: 4 kB / 0.7535 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.5894, allocations: 0.5301 MB / 0.754 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.5898, allocations: 180.9 kB / 0.7542 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.5901, allocations: 0.6768 MB / 0.7548 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.438e-06/0.5901, allocations: 0 / 0.7548 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.5901, allocations: 11.44 kB / 0.7548 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5901, allocations: 0 / 0.7548 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.6147, allocations: 1.338 MB / 0.7561 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.6149, allocations: 186.1 kB / 0.7563 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/2.075, allocations: 0 / 0.7563 GB, free: 12.86 MB / 0.5417 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)