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.00127/0.00127, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.001301/0.001301, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002546/0.002546, allocations: 286 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 100.2 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4095, allocations: 86.97 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002376/0.4118, allocations: 1.234 MB / 0.7683 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.4135, allocations: 1.021 MB / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.4135, allocations: 4 kB / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.4135, allocations: 0 / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000428/0.4139, allocations: 107.5 kB / 0.7694 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.4139, allocations: 0 / 0.7694 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.832e-05/0.414, allocations: 4 kB / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.414, allocations: 3.984 kB / 0.7694 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.69e-05/0.414, allocations: 7.922 kB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.4141, allocations: 4 kB / 0.7694 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.682e-06/0.4141, allocations: 0 / 0.7694 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.4144, allocations: 127.8 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.418e-06/0.4144, allocations: 0 / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.185e-05/0.4144, allocations: 4 kB / 0.7695 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.4146, allocations: 113.3 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4146, allocations: 0 / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4146, allocations: 0 / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4146, allocations: 0 / 0.7696 GB, free: 1.258 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.0003789/0.415, allocations: 346 kB / 0.7699 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.415, allocations: 12.03 kB / 0.77 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.4151, allocations: 80.17 kB / 0.77 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.4153, allocations: 243.7 kB / 0.7703 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.4153, allocations: 150.9 kB / 0.7704 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.4154, allocations: 154.9 kB / 0.7706 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.668e-05/0.4155, allocations: 113 kB / 0.7707 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.4155, allocations: 79.28 kB / 0.7707 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.4156, allocations: 150.6 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.587e-05/0.4157, allocations: 154.6 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.213e-05/0.4158, allocations: 150.6 kB / 0.7712 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.4161, allocations: 445.9 kB / 0.7716 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.4162, allocations: 177.1 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.4163, allocations: 84.14 kB / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.4163, allocations: 75.28 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.318e-05/0.4164, allocations: 109.8 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4164, allocations: 0 / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.711e-05/0.4164, allocations: 29.7 kB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.4165, allocations: 126.7 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.4166, allocations: 105.8 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.4167, allocations: 29.7 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.4167, allocations: 80.14 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.4167, allocations: 0 / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.4167, allocations: 13.66 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4169, allocations: 310.8 kB / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.068e-06/0.4169, allocations: 0 / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-06/0.4169, allocations: 0 / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.989e-05/0.4169, allocations: 83.41 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-05/0.417, allocations: 75.28 kB / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.988e-05/0.417, allocations: 29.64 kB / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.4171, allocations: 83.28 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/0.4171, allocations: 83.22 kB / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.415e-05/0.4172, allocations: 158.6 kB / 0.7732 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.279e-05/0.4172, allocations: 75.28 kB / 0.7733 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.387e-05/0.4173, allocations: 162.5 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.4174, allocations: 75.28 kB / 0.7735 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.4174, allocations: 79.22 kB / 0.7736 GB, free: 12.98 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.0001442/0.4176, allocations: 262.8 kB / 0.7738 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.4176, allocations: 109.1 kB / 0.7739 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.4177, allocations: 116.1 kB / 0.774 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.101e-05/0.4178, allocations: 180.2 kB / 0.7742 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.648e-05/0.4179, allocations: 176.3 kB / 0.7744 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.889e-05/0.4179, allocations: 188.1 kB / 0.7745 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.4182, allocations: 401.2 kB / 0.7749 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-05/0.4183, allocations: 101 kB / 0.775 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.4183, allocations: 116.9 kB / 0.7751 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.534e-05/0.4184, allocations: 176.3 kB / 0.7753 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.38e-05/0.4185, allocations: 184.2 kB / 0.7755 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.65e-05/0.4186, allocations: 184.3 kB / 0.7757 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.208e-05/0.4187, allocations: 188.2 kB / 0.7758 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.4189, allocations: 299.8 kB / 0.7761 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.419, allocations: 194 kB / 0.7763 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.444e-05/0.4191, allocations: 176.3 kB / 0.7765 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.4192, allocations: 104.9 kB / 0.7766 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.4193, allocations: 184.3 kB / 0.7767 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/0.4193, allocations: 105 kB / 0.7768 GB, free: 9.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.4194, allocations: 75.28 kB / 0.7769 GB, free: 9.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4194, allocations: 0 / 0.7769 GB, free: 9.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003706/0.4197, allocations: 47.8 kB / 0.777 GB, free: 9.273 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.0006433/0.4204, allocations: 319 kB / 0.7773 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.796e-05/0.4204, allocations: 4 kB / 0.7773 GB, free: 8.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4204, allocations: 0 / 0.7773 GB, free: 8.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.4204, allocations: 4 kB / 0.7773 GB, free: 8.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.4209, allocations: 457.7 kB / 0.7777 GB, free: 8.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.4212, allocations: 160.8 kB / 0.7779 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.4215, allocations: 0.6768 MB / 0.7785 GB, free: 7.641 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.356e-06/0.4215, allocations: 0 / 0.7785 GB, free: 7.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.246e-05/0.4215, allocations: 7.438 kB / 0.7785 GB, free: 7.633 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.4215, allocations: 0 / 0.7785 GB, free: 7.633 MB / 0.545 GB Notification: Performance of Templates: time 0.003585/0.4251, allocations: 1.001 MB / 0.7795 GB, free: 6.668 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)