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.001449/0.001449, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.001702/0.001703, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.357/1.357, allocations: 222.9 MB / 241.1 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.002378/0.002378, allocations: 295.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 91.86 kB / 0.6821 GB, free: 7.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4193, allocations: 86.97 MB / 0.767 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00579/0.4252, allocations: 4.392 MB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.5845, allocations: 150.6 MB / 0.9184 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008014/0.5854, allocations: 19.88 kB / 0.9184 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.5861, allocations: 174.4 kB / 0.9186 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.5887, allocations: 0.5067 MB / 0.919 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.5916, allocations: 0.8432 MB / 0.9199 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001935/0.5936, allocations: 1.324 MB / 0.9212 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.5948, allocations: 0.6946 MB / 0.9218 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008097/0.5956, allocations: 0.5021 MB / 0.9223 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007917/0.5964, allocations: 0.5211 MB / 0.9228 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003151/0.5967, allocations: 128 kB / 0.923 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.5978, allocations: 495.6 kB / 0.9234 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003873/0.5982, allocations: 319 kB / 0.9237 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007079/0.599, allocations: 0.5829 MB / 0.9243 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.6012, allocations: 1.685 MB / 0.926 GB, free: 0.6055 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6012, allocations: 4 kB / 0.926 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6012, allocations: 4 kB / 0.926 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.295e-05/0.6013, allocations: 0 / 0.926 GB, free: 0.5977 MB / 0.6856 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.003171/0.6045, allocations: 1.48 MB / 0.9274 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.6045, allocations: 12.03 kB / 0.9274 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.6058, allocations: 211.3 kB / 0.9276 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.6072, allocations: 0.7811 MB / 0.9284 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.16e-05/0.6072, allocations: 66 kB / 0.9284 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.6074, allocations: 96 kB / 0.9285 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.6093, allocations: 1.003 MB / 0.9295 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.6094, allocations: 0 / 0.9295 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.762e-05/0.6095, allocations: 40 kB / 0.9296 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.6095, allocations: 24 kB / 0.9296 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.6116, allocations: 1.175 MB / 0.9307 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004908/0.6165, allocations: 2.596 MB / 0.9333 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/0.619, allocations: 0.9654 MB / 0.9342 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006215/0.6197, allocations: 310.7 kB / 0.9345 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.429e-05/0.6198, allocations: 32.59 kB / 0.9345 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009308/0.6207, allocations: 0.503 MB / 0.935 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.887e-06/0.6207, allocations: 0 / 0.935 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003325/0.6241, allocations: 1.217 MB / 0.9362 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.6242, allocations: 204.4 kB / 0.9364 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008741/0.6251, allocations: 0.6409 MB / 0.937 GB, free: 4.941 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.408e-05/0.6251, allocations: 45.7 kB / 0.9371 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.6255, allocations: 420.3 kB / 0.9375 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.6257, allocations: 260.2 kB / 0.9377 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.626, allocations: 166.5 kB / 0.9379 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6262, allocations: 386.8 kB / 0.9383 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/0.6268, allocations: 281.8 kB / 0.9385 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006998/0.6275, allocations: 367.1 kB / 0.9389 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.6288, allocations: 0.6189 MB / 0.9395 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.6288, allocations: 4 kB / 0.9395 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002104/0.6309, allocations: 0.8682 MB / 0.9403 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.631, allocations: 15.97 kB / 0.9403 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.631, allocations: 0 / 0.9403 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.6316, allocations: 84.77 kB / 0.9404 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.6323, allocations: 163.8 kB / 0.9406 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.6347, allocations: 1.623 MB / 0.9422 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007981/0.6355, allocations: 101.6 kB / 0.9423 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.032e-05/0.6356, allocations: 43.91 kB / 0.9423 GB, free: 15.33 MB / 0.7169 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.0005106/0.6361, allocations: 275 kB / 0.9426 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.6363, allocations: 86.91 kB / 0.9426 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.639, allocations: 1.097 MB / 0.9437 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.639, allocations: 3.984 kB / 0.9437 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.639, allocations: 0 / 0.9437 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/0.6395, allocations: 271.7 kB / 0.944 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.6397, allocations: 27.91 kB / 0.944 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/0.6404, allocations: 67.92 kB / 0.9441 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.6406, allocations: 68.89 kB / 0.9441 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002335/0.6429, allocations: 0.9787 MB / 0.9451 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002434/0.6454, allocations: 1.438 MB / 0.9465 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006799/0.6461, allocations: 371.8 kB / 0.9469 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006591/0.6467, allocations: 467 kB / 0.9473 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of Backend: time 9.52e-07/0.6468, allocations: 0 / 0.9473 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00353/0.6503, allocations: 1.269 MB / 0.9485 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003577/0.6539, allocations: 2.122 MB / 0.9506 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of Templates: time 0.3673/1.021, allocations: 16.59 MB / 0.9668 GB, free: 185.6 MB / 0.7169 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)