Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 104 kB / 16.41 MB, free: 6.016 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.001497/0.001496, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002302/0.002302, allocations: 291.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 95.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4774, allocations: 86.99 MB / 0.7671 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002424/0.4798, allocations: 1.222 MB / 0.7683 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.4813, allocations: 1.013 MB / 0.7692 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.4814, allocations: 0 / 0.7692 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.4814, allocations: 7.938 kB / 0.7693 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.4818, allocations: 111.6 kB / 0.7694 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.436e-06/0.4819, allocations: 0 / 0.7694 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.947e-05/0.4819, allocations: 7.938 kB / 0.7694 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.482, allocations: 0 / 0.7694 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.396e-05/0.482, allocations: 3.938 kB / 0.7694 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.4821, allocations: 4 kB / 0.7694 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.902e-06/0.4821, allocations: 0 / 0.7694 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.4823, allocations: 127.8 kB / 0.7695 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.909e-06/0.4823, allocations: 0 / 0.7695 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.4823, allocations: 4 kB / 0.7695 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.4825, allocations: 103.8 kB / 0.7696 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4825, allocations: 4 kB / 0.7696 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4826, allocations: 0 / 0.7696 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.4826, allocations: 0 / 0.7696 GB, free: 1.445 MB / 0.5294 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.0002917/0.4829, allocations: 347.2 kB / 0.7699 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.4829, allocations: 8.031 kB / 0.7699 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.483, allocations: 76.22 kB / 0.77 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.4831, allocations: 239.7 kB / 0.7702 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.4832, allocations: 170.8 kB / 0.7704 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.4832, allocations: 150.9 kB / 0.7706 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.694e-05/0.4833, allocations: 109 kB / 0.7707 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.4833, allocations: 75.28 kB / 0.7707 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.4833, allocations: 154.5 kB / 0.7709 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.448e-05/0.4834, allocations: 154.6 kB / 0.771 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.947e-05/0.4835, allocations: 150.6 kB / 0.7712 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.4837, allocations: 449.9 kB / 0.7716 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.474e-05/0.4838, allocations: 165.1 kB / 0.7718 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.4839, allocations: 84.14 kB / 0.7718 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.4839, allocations: 75.28 kB / 0.7719 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.4839, allocations: 109.8 kB / 0.772 GB, free: 14.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.4839, allocations: 0 / 0.772 GB, free: 14.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.09e-05/0.484, allocations: 49.52 kB / 0.7721 GB, free: 14.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.4841, allocations: 126.7 kB / 0.7722 GB, free: 14.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.665e-05/0.4842, allocations: 97.86 kB / 0.7723 GB, free: 14.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.4842, allocations: 25.7 kB / 0.7723 GB, free: 14.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.4842, allocations: 80.14 kB / 0.7724 GB, free: 14.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.4842, allocations: 0 / 0.7724 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.4842, allocations: 9.719 kB / 0.7724 GB, free: 14.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4843, allocations: 314.8 kB / 0.7727 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-06/0.4844, allocations: 4 kB / 0.7727 GB, free: 14.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-06/0.4844, allocations: 0 / 0.7727 GB, free: 14.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.4844, allocations: 83.39 kB / 0.7728 GB, free: 13.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.257e-05/0.4844, allocations: 75.28 kB / 0.7728 GB, free: 13.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.829e-05/0.4845, allocations: 33.58 kB / 0.7729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.4845, allocations: 83.28 kB / 0.7729 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.4846, allocations: 75.28 kB / 0.773 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.769e-05/0.4846, allocations: 154.6 kB / 0.7732 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.521e-05/0.4846, allocations: 83.22 kB / 0.7732 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.345e-05/0.4847, allocations: 154.6 kB / 0.7734 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.4848, allocations: 79.22 kB / 0.7735 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.4848, allocations: 83.27 kB / 0.7735 GB, free: 13.17 MB / 0.545 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.0001015/0.4849, allocations: 260.4 kB / 0.7738 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.485, allocations: 105.1 kB / 0.7739 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.485, allocations: 112.1 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.091e-05/0.4851, allocations: 180.3 kB / 0.7742 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.777e-05/0.4852, allocations: 192.2 kB / 0.7744 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.724e-05/0.4852, allocations: 180.2 kB / 0.7745 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.4854, allocations: 393.2 kB / 0.7749 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/0.4855, allocations: 112.9 kB / 0.775 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.4855, allocations: 108.9 kB / 0.7751 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.456e-05/0.4856, allocations: 188.1 kB / 0.7753 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/0.4856, allocations: 176.3 kB / 0.7755 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-05/0.4857, allocations: 184.2 kB / 0.7756 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.007e-05/0.4858, allocations: 180.3 kB / 0.7758 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.4859, allocations: 311.8 kB / 0.7761 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.486, allocations: 182 kB / 0.7763 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.4861, allocations: 184.2 kB / 0.7765 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.4861, allocations: 109 kB / 0.7766 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.4862, allocations: 176.3 kB / 0.7767 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.4862, allocations: 108.9 kB / 0.7768 GB, free: 9.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.973e-05/0.4863, allocations: 83.28 kB / 0.7769 GB, free: 9.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4863, allocations: 0 / 0.7769 GB, free: 9.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003054/0.4866, allocations: 39.98 kB / 0.777 GB, free: 9.457 MB / 0.545 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.0004643/0.4871, allocations: 314.2 kB / 0.7773 GB, free: 9.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 3.422e-05/0.4871, allocations: 4 kB / 0.7773 GB, free: 9.176 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4871, allocations: 4 kB / 0.7773 GB, free: 9.172 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.4871, allocations: 0 / 0.7773 GB, free: 9.172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.4875, allocations: 456.2 kB / 0.7777 GB, free: 8.723 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.4877, allocations: 190.5 kB / 0.7779 GB, free: 8.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.4879, allocations: 0.6729 MB / 0.7785 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.2e-05/0.488, allocations: 11.44 kB / 0.7785 GB, free: 7.789 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.488, allocations: 0 / 0.7785 GB, free: 7.789 MB / 0.545 GB Notification: Performance of Templates: time 0.002525/0.4905, allocations: 1.168 MB / 0.7797 GB, free: 6.629 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)