Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001559/0.001559, allocations: 192.3 kB / 16.13 MB, free: 6.707 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.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001964/0.001964, allocations: 286.8 kB / 290.2 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 93.08 kB / 0.5945 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1561, allocations: 86.98 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005847/0.162, allocations: 4.388 MB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4373/0.5994, allocations: 148.3 MB / 0.8285 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.6005, allocations: 14.47 kB / 0.8285 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008186/0.6013, allocations: 140.4 kB / 0.8287 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.6033, allocations: 429.8 kB / 0.8291 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.6051, allocations: 0.7331 MB / 0.8298 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.6068, allocations: 1.228 MB / 0.831 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.6079, allocations: 0.6846 MB / 0.8316 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007789/0.6087, allocations: 433.8 kB / 0.8321 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007393/0.6095, allocations: 0.4886 MB / 0.8325 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002657/0.6097, allocations: 72.56 kB / 0.8326 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.6108, allocations: 406.5 kB / 0.833 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004141/0.6112, allocations: 255.9 kB / 0.8332 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000787/0.612, allocations: 0.5213 MB / 0.8337 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.614, allocations: 1.594 MB / 0.8353 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.614, allocations: 1.125 kB / 0.8353 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.61e-07/0.614, allocations: 0 / 0.8353 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.251e-05/0.6141, allocations: 0 / 0.8353 GB, free: 15.84 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00307/0.6172, allocations: 1.474 MB / 0.8367 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6172, allocations: 8.812 kB / 0.8368 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.6183, allocations: 219.2 kB / 0.837 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.6194, allocations: 0.7651 MB / 0.8377 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.6194, allocations: 70.91 kB / 0.8378 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.6195, allocations: 88.41 kB / 0.8379 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.6213, allocations: 1.01 MB / 0.8388 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.6213, allocations: 0 / 0.8388 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/0.6214, allocations: 41.44 kB / 0.8389 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.6214, allocations: 22.5 kB / 0.8389 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.6233, allocations: 1.177 MB / 0.8401 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.6275, allocations: 2.626 MB / 0.8426 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/0.63, allocations: 0.9684 MB / 0.8436 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005635/0.6306, allocations: 315.1 kB / 0.8439 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.754e-05/0.6307, allocations: 32.66 kB / 0.8439 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009831/0.6317, allocations: 0.4915 MB / 0.8444 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.234e-06/0.6317, allocations: 0 / 0.8444 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003309/0.635, allocations: 1.223 MB / 0.8456 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.6351, allocations: 187.3 kB / 0.8457 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/0.6359, allocations: 0.6401 MB / 0.8464 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/0.636, allocations: 44.48 kB / 0.8464 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.6363, allocations: 435.2 kB / 0.8468 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.6365, allocations: 267.3 kB / 0.8471 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.6368, allocations: 161.1 kB / 0.8472 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6369, allocations: 388.1 kB / 0.8476 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.6375, allocations: 279.9 kB / 0.8479 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/0.6381, allocations: 370.4 kB / 0.8482 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.6393, allocations: 0.6148 MB / 0.8488 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.6393, allocations: 0 / 0.8488 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001996/0.6413, allocations: 0.8695 MB / 0.8497 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.6413, allocations: 13.11 kB / 0.8497 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6414, allocations: 2.5 kB / 0.8497 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00059/0.642, allocations: 83.66 kB / 0.8498 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/0.6426, allocations: 165 kB / 0.8499 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.6445, allocations: 1.519 MB / 0.8514 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/0.6453, allocations: 93.91 kB / 0.8515 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.6454, allocations: 37.09 kB / 0.8515 GB, free: 6.219 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004609/0.6459, allocations: 286 kB / 0.8518 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.646, allocations: 89.47 kB / 0.8519 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.6484, allocations: 1.095 MB / 0.853 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.6485, allocations: 10.22 kB / 0.853 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.6485, allocations: 0 / 0.853 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.6485, allocations: 10.36 kB / 0.853 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.6518, allocations: 2.014 MB / 0.855 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.6519, allocations: 0 / 0.855 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.6525, allocations: 151.6 kB / 0.8551 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005098/0.653, allocations: 82.55 kB / 0.8552 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.6531, allocations: 26.33 kB / 0.8552 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.6549, allocations: 1.535 MB / 0.8567 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6549, allocations: 3.938 kB / 0.8567 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.657, allocations: 1.019 MB / 0.8577 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/0.6574, allocations: 275.4 kB / 0.858 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.6576, allocations: 27.02 kB / 0.858 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006896/0.6583, allocations: 67.22 kB / 0.8581 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.6584, allocations: 77.14 kB / 0.8581 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.6585, allocations: 35.75 kB / 0.8582 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000579/0.6591, allocations: 465.7 kB / 0.8586 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6591, allocations: 0 / 0.8586 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008872/0.66, allocations: 326 kB / 0.8589 GB, free: 1.141 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/0.6613, allocations: 0.6082 MB / 0.8595 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.663, allocations: 0.8398 MB / 0.8603 GB, free: 444 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.663, allocations: 7 kB / 0.8603 GB, free: 440 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000895/0.6639, allocations: 0.5219 MB / 0.8608 GB, free: 140 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.6651, allocations: 271.5 kB / 0.8611 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.669, allocations: 2.293 MB / 0.8633 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.6696, allocations: 1.045 MB / 0.8644 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008481/0.6704, allocations: 268.1 kB / 0.8646 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.6707, allocations: 108.1 kB / 0.8647 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.6707, allocations: 0 / 0.8647 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of Templates: time 0.024/0.6947, allocations: 14.51 MB / 0.8789 GB, free: 2.883 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)