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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00526/0.00526, allocations: 104.5 kB / 15.74 MB, free: 5.598 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.001176/0.001177, allocations: 191.8 kB / 16.67 MB, free: 5.527 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8335/0.8335, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 63.12 kB / 0.5851 GB, free: 21.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1728, allocations: 80.92 MB / 0.6642 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002661/0.1755, allocations: 1.245 MB / 0.6654 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1771, allocations: 1.012 MB / 0.6664 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.1772, allocations: 0 / 0.6664 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.1772, allocations: 3.938 kB / 0.6664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.1777, allocations: 111.5 kB / 0.6665 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 1.45e-05/0.1777, allocations: 0 / 0.6665 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.672e-05/0.1778, allocations: 8 kB / 0.6665 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.1778, allocations: 0 / 0.6665 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.353e-05/0.1779, allocations: 0 / 0.6665 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.178, allocations: 4 kB / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.178, allocations: 4 kB / 0.6665 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.1782, allocations: 127.8 kB / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.931e-06/0.1782, allocations: 0 / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.1783, allocations: 0 / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.1785, allocations: 107.8 kB / 0.6667 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1785, allocations: 0 / 0.6667 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1785, allocations: 0 / 0.6667 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1785, allocations: 0 / 0.6667 GB, free: 3.652 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.0003632/0.1789, allocations: 354.3 kB / 0.6671 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1789, allocations: 9.109 kB / 0.6671 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.179, allocations: 110 kB / 0.6672 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.179, allocations: 76.22 kB / 0.6672 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.1792, allocations: 247.7 kB / 0.6675 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.1793, allocations: 150.9 kB / 0.6676 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.1793, allocations: 154.9 kB / 0.6678 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.978e-05/0.1794, allocations: 112.8 kB / 0.6679 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.1794, allocations: 79.28 kB / 0.668 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.1795, allocations: 150.6 kB / 0.6681 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-05/0.1795, allocations: 150.6 kB / 0.6682 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.806e-05/0.1796, allocations: 150.6 kB / 0.6684 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.1799, allocations: 446 kB / 0.6688 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.449e-05/0.18, allocations: 173.1 kB / 0.669 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.18, allocations: 84.12 kB / 0.6691 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.1801, allocations: 79.22 kB / 0.6691 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.1801, allocations: 109.8 kB / 0.6692 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1801, allocations: 0 / 0.6692 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.414e-05/0.1802, allocations: 33.7 kB / 0.6693 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.1803, allocations: 126.7 kB / 0.6694 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1804, allocations: 93.86 kB / 0.6695 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1804, allocations: 25.7 kB / 0.6695 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.1805, allocations: 80.14 kB / 0.6696 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.1805, allocations: 0 / 0.6696 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.1805, allocations: 13.7 kB / 0.6696 GB, free: 496 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.1807, allocations: 326.9 kB / 0.6699 GB, free: 160 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-06/0.1807, allocations: 48 / 0.6699 GB, free: 160 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-06/0.1807, allocations: 4 kB / 0.6699 GB, free: 156 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.512e-05/0.1807, allocations: 75.28 kB / 0.67 GB, free: 80 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.828e-05/0.1808, allocations: 75.28 kB / 0.6701 GB, free: 4 kB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.862e-05/0.1809, allocations: 33.84 kB / 0.6701 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.1809, allocations: 83.22 kB / 0.6702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.364e-05/0.181, allocations: 79.22 kB / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.661e-05/0.1811, allocations: 158.6 kB / 0.6704 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.237e-05/0.1811, allocations: 83.39 kB / 0.6705 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.64e-05/0.1812, allocations: 158.5 kB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.1813, allocations: 79.28 kB / 0.6707 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.1813, allocations: 79.22 kB / 0.6708 GB, free: 15.25 MB / 0.5137 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.0001387/0.1815, allocations: 265.7 kB / 0.671 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/0.1815, allocations: 104.9 kB / 0.6711 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.06e-05/0.1816, allocations: 108.1 kB / 0.6712 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.35e-05/0.1817, allocations: 184.2 kB / 0.6714 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001045/0.1818, allocations: 180.3 kB / 0.6716 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.484e-05/0.1819, allocations: 180.2 kB / 0.6717 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.1822, allocations: 401.2 kB / 0.6721 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.793e-05/0.1823, allocations: 105 kB / 0.6722 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.1823, allocations: 108.9 kB / 0.6723 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.194e-05/0.1824, allocations: 180.3 kB / 0.6725 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-05/0.1825, allocations: 188.1 kB / 0.6727 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-05/0.1826, allocations: 188.2 kB / 0.6729 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.626e-05/0.1827, allocations: 180.2 kB / 0.673 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.1828, allocations: 299.8 kB / 0.6733 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.433e-05/0.1829, allocations: 190 kB / 0.6735 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.219e-05/0.183, allocations: 176.3 kB / 0.6737 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.1831, allocations: 109 kB / 0.6738 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.1832, allocations: 180.2 kB / 0.6739 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.1833, allocations: 105 kB / 0.674 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.1833, allocations: 83.27 kB / 0.6741 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1833, allocations: 0 / 0.6741 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003814/0.1837, allocations: 36 kB / 0.6742 GB, free: 11.55 MB / 0.5137 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.0009625/0.1847, allocations: 0.9536 MB / 0.6751 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 5.234e-05/0.1847, allocations: 0 / 0.6751 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.1848, allocations: 4 kB / 0.6751 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.1848, allocations: 0 / 0.6751 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1852, allocations: 463.6 kB / 0.6755 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1864, allocations: 1.556 MB / 0.6771 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.1867, allocations: 0.6729 MB / 0.6777 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.849e-06/0.1867, allocations: 0 / 0.6777 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.1867, allocations: 15.42 kB / 0.6777 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1867, allocations: 4.031 kB / 0.6777 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.2063, allocations: 1.875 MB / 0.6796 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/7.554, allocations: 5.75 kB / 0.6796 GB, free: 6.059 MB / 0.5137 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/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)