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.004957/0.004961, allocations: 100.7 kB / 15.73 MB, free: 6.027 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.001226/0.001226, allocations: 193.1 kB / 16.67 MB, free: 5.961 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.334/1.334, 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.745/0.745, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.28 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1744, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002659/0.1771, allocations: 1.235 MB / 0.6604 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1788, allocations: 1.022 MB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.1789, allocations: 0 / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.1789, allocations: 0 / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005612/0.1795, allocations: 107.6 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.458e-06/0.1796, allocations: 3.938 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.376e-05/0.1796, allocations: 0 / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.1797, allocations: 4 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.873e-05/0.1797, allocations: 4 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.1798, allocations: 0 / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.665e-06/0.1798, allocations: 0 / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.1801, allocations: 131.8 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.773e-06/0.1802, allocations: 0 / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.1802, allocations: 3.938 kB / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.1805, allocations: 99.89 kB / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1805, allocations: 3.938 kB / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1805, allocations: 0 / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1806, allocations: 0 / 0.6617 GB, free: 11.38 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.0004719/0.181, allocations: 358.3 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1811, allocations: 8.031 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.1812, allocations: 110 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.1812, allocations: 80.22 kB / 0.6623 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1814, allocations: 235.7 kB / 0.6625 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.1815, allocations: 150.9 kB / 0.6626 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.1816, allocations: 154.9 kB / 0.6628 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.379e-05/0.1816, allocations: 112.9 kB / 0.6629 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.1817, allocations: 75.28 kB / 0.663 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/0.1817, allocations: 154.5 kB / 0.6631 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.247e-05/0.1818, allocations: 154.6 kB / 0.6633 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.637e-05/0.1819, allocations: 154.6 kB / 0.6634 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.1822, allocations: 446 kB / 0.6638 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.77e-05/0.1823, allocations: 165.1 kB / 0.664 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.1823, allocations: 84.14 kB / 0.6641 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.1824, allocations: 87.14 kB / 0.6642 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.1824, allocations: 113.8 kB / 0.6643 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1824, allocations: 0 / 0.6643 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.796e-05/0.1825, allocations: 25.7 kB / 0.6643 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.1826, allocations: 126.7 kB / 0.6644 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1827, allocations: 97.86 kB / 0.6645 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1828, allocations: 25.7 kB / 0.6645 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.1828, allocations: 84.27 kB / 0.6646 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.1828, allocations: 0 / 0.6646 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.1828, allocations: 13.72 kB / 0.6646 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.183, allocations: 314.8 kB / 0.6649 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-06/0.183, allocations: 48 / 0.6649 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.183, allocations: 7.938 kB / 0.6649 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.557e-05/0.183, allocations: 79.22 kB / 0.665 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.293e-05/0.1831, allocations: 75.28 kB / 0.6651 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.329e-05/0.1831, allocations: 41.64 kB / 0.6651 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.1832, allocations: 79.28 kB / 0.6652 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-05/0.1832, allocations: 75.28 kB / 0.6653 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-05/0.1833, allocations: 158.5 kB / 0.6654 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.241e-05/0.1833, allocations: 75.41 kB / 0.6655 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.445e-05/0.1834, allocations: 158.5 kB / 0.6656 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.553e-05/0.1835, allocations: 79.27 kB / 0.6657 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.1835, allocations: 83.28 kB / 0.6658 GB, free: 6.98 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 0.0001239/0.1836, allocations: 265 kB / 0.6661 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.1837, allocations: 104.9 kB / 0.6662 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.1837, allocations: 108.1 kB / 0.6663 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.087e-05/0.1838, allocations: 184.2 kB / 0.6664 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.744e-05/0.1839, allocations: 180.3 kB / 0.6666 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.986e-05/0.184, allocations: 176.3 kB / 0.6668 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.1842, allocations: 413.1 kB / 0.6672 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.493e-05/0.1843, allocations: 104.9 kB / 0.6673 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.1843, allocations: 104.9 kB / 0.6674 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.309e-05/0.1844, allocations: 180.3 kB / 0.6675 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.1845, allocations: 188.2 kB / 0.6677 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-05/0.1845, allocations: 180.3 kB / 0.6679 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.778e-05/0.1846, allocations: 180.2 kB / 0.6681 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.1848, allocations: 307.7 kB / 0.6684 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.1848, allocations: 190 kB / 0.6685 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.1849, allocations: 184.2 kB / 0.6687 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.884e-05/0.185, allocations: 101 kB / 0.6688 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.1851, allocations: 180.2 kB / 0.669 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.1852, allocations: 101 kB / 0.6691 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.696e-05/0.1852, allocations: 83.28 kB / 0.6692 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1852, allocations: 0 / 0.6692 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004737/0.1857, allocations: 47.92 kB / 0.6692 GB, free: 3.266 MB / 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.0008676/0.1866, allocations: 0.9413 MB / 0.6701 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.834e-05/0.1866, allocations: 4 kB / 0.6701 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1866, allocations: 0 / 0.6701 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.1866, allocations: 4 kB / 0.6701 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.187, allocations: 455.7 kB / 0.6706 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1884, allocations: 1.568 MB / 0.6721 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.1888, allocations: 0.669 MB / 0.6727 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.347e-05/0.1888, allocations: 7.938 kB / 0.6728 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.1888, allocations: 7.438 kB / 0.6728 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.1888, allocations: 0 / 0.6728 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.2108, allocations: 1.873 MB / 0.6746 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.33, allocations: 8.625 kB / 0.6746 GB, free: 13.81 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)