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.002726/0.002726, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.246/1.246, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.718/2.718, allocations: 221.3 MB / 400.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 99.44 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.046e-05/8.058e-05, allocations: 3.938 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2732, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.39, allocations: 112.1 MB / 0.75 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004186/1.391, allocations: 86.5 kB / 0.7501 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01073/1.401, allocations: 2.503 MB / 0.7525 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.168e-06/1.401, allocations: 1.531 kB / 0.7525 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.253e-05/1.401, allocations: 6.938 kB / 0.7525 GB, free: 27.69 MB / 0.5105 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.00049/1.402, allocations: 348.6 kB / 0.7529 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.62e-05/1.402, allocations: 12.09 kB / 0.7529 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.74e-05/1.402, allocations: 111.6 kB / 0.753 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/1.402, allocations: 81.94 kB / 0.7531 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/1.402, allocations: 239.1 kB / 0.7533 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/1.403, allocations: 150.6 kB / 0.7534 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.974e-05/1.403, allocations: 150.6 kB / 0.7536 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/1.403, allocations: 108.7 kB / 0.7537 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/1.403, allocations: 79.28 kB / 0.7538 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.403, allocations: 150.6 kB / 0.7539 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.292e-05/1.403, allocations: 150.6 kB / 0.7541 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/1.403, allocations: 160.6 kB / 0.7542 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/1.404, allocations: 445.9 kB / 0.7546 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/1.404, allocations: 176.3 kB / 0.7548 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/1.404, allocations: 80.14 kB / 0.7549 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/1.404, allocations: 75.28 kB / 0.755 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/1.404, allocations: 109.1 kB / 0.7551 GB, free: 25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 4.308e-06/1.404, allocations: 4 kB / 0.7551 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.0001265/1.404, allocations: 30.56 kB / 0.7551 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.404, allocations: 126.7 kB / 0.7552 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/1.405, allocations: 87.69 kB / 0.7553 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/1.405, allocations: 29.67 kB / 0.7553 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/1.405, allocations: 80.14 kB / 0.7554 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/1.405, allocations: 0 / 0.7554 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-06/1.405, allocations: 0 / 0.7554 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.405, allocations: 322.2 kB / 0.7557 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-06/1.405, allocations: 0 / 0.7557 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-06/1.405, allocations: 3.938 kB / 0.7557 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/1.405, allocations: 75.28 kB / 0.7558 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.933e-05/1.405, allocations: 79.23 kB / 0.7559 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.902e-05/1.405, allocations: 29.55 kB / 0.7559 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/1.405, allocations: 79.12 kB / 0.756 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.324e-05/1.405, allocations: 87.06 kB / 0.756 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.622e-05/1.405, allocations: 154.6 kB / 0.7562 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/1.405, allocations: 78.33 kB / 0.7563 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.791e-05/1.406, allocations: 155.4 kB / 0.7564 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/1.406, allocations: 79.12 kB / 0.7565 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/1.406, allocations: 83.16 kB / 0.7566 GB, free: 23.43 MB / 0.5105 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.0001815/1.406, allocations: 255.5 kB / 0.7568 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/1.406, allocations: 112.8 kB / 0.7569 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.03e-05/1.406, allocations: 107.3 kB / 0.757 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.917e-05/1.406, allocations: 180.2 kB / 0.7572 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001151/1.406, allocations: 180.2 kB / 0.7574 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001145/1.407, allocations: 191.8 kB / 0.7575 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/1.407, allocations: 404.5 kB / 0.7579 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.472e-05/1.407, allocations: 101 kB / 0.758 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/1.407, allocations: 111.9 kB / 0.7581 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/1.407, allocations: 184 kB / 0.7583 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/1.407, allocations: 183.9 kB / 0.7585 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000113/1.407, allocations: 181.2 kB / 0.7587 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001257/1.408, allocations: 191 kB / 0.7588 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/1.408, allocations: 295.8 kB / 0.7591 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/1.408, allocations: 189.2 kB / 0.7593 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/1.408, allocations: 180.2 kB / 0.7595 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/1.408, allocations: 105 kB / 0.7596 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.408, allocations: 184.5 kB / 0.7598 GB, free: 20 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.733e-05/1.408, allocations: 107.8 kB / 0.7599 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.045e-05/1.408, allocations: 79.25 kB / 0.7599 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.31e-07/1.408, allocations: 0 / 0.7599 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000586/1.409, allocations: 49.91 kB / 0.76 GB, free: 19.8 MB / 0.5105 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.001417/1.411, allocations: 0.9625 MB / 0.7609 GB, free: 18.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 4.656e-05/1.411, allocations: 3.938 kB / 0.7609 GB, free: 18.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.411, allocations: 0 / 0.7609 GB, free: 18.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/1.411, allocations: 0 / 0.7609 GB, free: 18.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/1.411, allocations: 0.53 MB / 0.7614 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/1.412, allocations: 178.8 kB / 0.7616 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/1.412, allocations: 0.677 MB / 0.7623 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.592e-05/1.412, allocations: 0 / 0.7623 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/1.412, allocations: 11.38 kB / 0.7623 GB, free: 17.51 MB / 0.5105 GB Notification: Performance of SimCode: time 9.22e-07/1.412, allocations: 0 / 0.7623 GB, free: 17.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/1.438, allocations: 1.638 MB / 0.7639 GB, free: 17.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003099/1.439, allocations: 220.9 kB / 0.7641 GB, free: 17.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.984, allocations: 4 kB / 0.7641 GB, free: 17.07 MB / 0.5105 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)