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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005372/0.005372, allocations: 100.7 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 193.2 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7482/0.7482, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.91 kB / 0.5809 GB, free: 8.086 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3937, allocations: 80.21 MB / 0.6592 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001808/0.3955, allocations: 1.234 MB / 0.6604 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3967, allocations: 1.01 MB / 0.6614 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.3968, allocations: 3.938 kB / 0.6614 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.3968, allocations: 4 kB / 0.6614 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.3972, allocations: 115.6 kB / 0.6615 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.948e-06/0.3972, allocations: 1.281 kB / 0.6615 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.934e-05/0.3973, allocations: 2.172 kB / 0.6615 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.3973, allocations: 2.25 kB / 0.6615 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.3974, allocations: 0 / 0.6615 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3975, allocations: 7.031 kB / 0.6615 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.637e-06/0.3975, allocations: 0 / 0.6615 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.3977, allocations: 125.3 kB / 0.6616 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.042e-06/0.3978, allocations: 5.312 kB / 0.6616 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.305e-05/0.3978, allocations: 4 kB / 0.6616 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.398, allocations: 107.6 kB / 0.6618 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.398, allocations: 1.25 kB / 0.6618 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.395e-06/0.398, allocations: 0 / 0.6618 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.398, allocations: 3.938 kB / 0.6618 GB, free: 8.105 MB / 0.4981 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.0002942/0.3983, allocations: 341.5 kB / 0.6621 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3984, allocations: 11.36 kB / 0.6621 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.3984, allocations: 106 kB / 0.6622 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/0.3985, allocations: 77.02 kB / 0.6623 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.3986, allocations: 246.3 kB / 0.6625 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.3986, allocations: 156.4 kB / 0.6627 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3986, allocations: 151.5 kB / 0.6628 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.783e-05/0.3987, allocations: 106.2 kB / 0.6629 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3987, allocations: 75.28 kB / 0.663 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.3987, allocations: 155.2 kB / 0.6631 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.3988, allocations: 151.8 kB / 0.6633 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.247e-05/0.3988, allocations: 154.6 kB / 0.6634 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.399, allocations: 449.7 kB / 0.6638 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.399, allocations: 174.6 kB / 0.664 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.3991, allocations: 80.14 kB / 0.6641 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.3991, allocations: 81.3 kB / 0.6642 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3991, allocations: 109.8 kB / 0.6643 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3991, allocations: 0 / 0.6643 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.595e-05/0.3992, allocations: 32.2 kB / 0.6643 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3992, allocations: 136.1 kB / 0.6644 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.3993, allocations: 93.86 kB / 0.6645 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.541e-06/0.3993, allocations: 25.7 kB / 0.6645 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.3993, allocations: 82.16 kB / 0.6646 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.3993, allocations: 0 / 0.6646 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.3994, allocations: 15.12 kB / 0.6646 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.3994, allocations: 315.6 kB / 0.6649 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.3994, allocations: 0 / 0.6649 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.3994, allocations: 6.453 kB / 0.6649 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.249e-05/0.3994, allocations: 75.28 kB / 0.665 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.3995, allocations: 75.28 kB / 0.6651 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.977e-05/0.3995, allocations: 36.64 kB / 0.6651 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.3995, allocations: 81.14 kB / 0.6652 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3996, allocations: 76.5 kB / 0.6653 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.463e-05/0.3996, allocations: 156.5 kB / 0.6654 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.304e-05/0.3996, allocations: 85.27 kB / 0.6655 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.648e-05/0.3997, allocations: 156.5 kB / 0.6656 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.3997, allocations: 79.22 kB / 0.6657 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3997, allocations: 77.47 kB / 0.6658 GB, free: 3.793 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.3998, allocations: 259 kB / 0.666 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.3999, allocations: 107.2 kB / 0.6661 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.3999, allocations: 118.5 kB / 0.6663 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/0.3999, allocations: 182.2 kB / 0.6664 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-05/0.4, allocations: 180.8 kB / 0.6666 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.4, allocations: 178 kB / 0.6668 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.4001, allocations: 397.4 kB / 0.6672 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.4002, allocations: 115 kB / 0.6673 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.4002, allocations: 107.2 kB / 0.6674 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.328e-05/0.4002, allocations: 180.8 kB / 0.6675 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.4002, allocations: 178.4 kB / 0.6677 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.421e-05/0.4003, allocations: 178.3 kB / 0.6679 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.678e-05/0.4003, allocations: 186.9 kB / 0.6681 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.8e-05/0.4004, allocations: 312.4 kB / 0.6684 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.4004, allocations: 184.2 kB / 0.6685 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.4004, allocations: 182.5 kB / 0.6687 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.504e-05/0.4005, allocations: 101.6 kB / 0.6688 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.4005, allocations: 189.9 kB / 0.669 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.4006, allocations: 111.2 kB / 0.6691 GB, free: 236 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.171e-05/0.4006, allocations: 78.55 kB / 0.6692 GB, free: 160 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4006, allocations: 0 / 0.6692 GB, free: 160 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003309/0.4009, allocations: 35.61 kB / 0.6692 GB, free: 152 kB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007153/0.4017, allocations: 0.9418 MB / 0.6701 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 3.87e-05/0.4017, allocations: 7.938 kB / 0.6701 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4017, allocations: 1.438 kB / 0.6701 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.4017, allocations: 0.5625 kB / 0.6701 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.4021, allocations: 458.7 kB / 0.6706 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.4032, allocations: 1.555 MB / 0.6721 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.4035, allocations: 0.6715 MB / 0.6727 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.055e-06/0.4035, allocations: 1.281 kB / 0.6727 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.4035, allocations: 9.406 kB / 0.6727 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.4035, allocations: 0 / 0.6727 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.4232, allocations: 1.881 MB / 0.6746 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.639, allocations: 14.61 kB / 0.6746 GB, free: 11.72 MB / 0.5137 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/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)