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.00109/0.00109, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.00121/0.00121, allocations: 185.7 kB / 17.35 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.00207, allocations: 290.7 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 0.9485/0.9485, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002735, allocations: 100.3 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4648, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005871/0.4707, allocations: 4.389 MB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1552/0.6259, allocations: 150.6 MB / 0.9184 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007255/0.6267, allocations: 15.94 kB / 0.9184 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000647/0.6274, allocations: 170.4 kB / 0.9186 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.6291, allocations: 0.5021 MB / 0.919 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.6309, allocations: 0.8397 MB / 0.9199 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.6323, allocations: 1.324 MB / 0.9212 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009304/0.6332, allocations: 0.7024 MB / 0.9218 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000576/0.6338, allocations: 0.4905 MB / 0.9223 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000542/0.6343, allocations: 0.525 MB / 0.9228 GB, free: 3.758 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.6345, allocations: 124 kB / 0.923 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008493/0.6354, allocations: 499.6 kB / 0.9234 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.6356, allocations: 319 kB / 0.9237 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.6361, allocations: 0.5752 MB / 0.9243 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.6378, allocations: 1.696 MB / 0.926 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6378, allocations: 0 / 0.926 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6378, allocations: 0 / 0.926 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.6379, allocations: 4 kB / 0.926 GB, free: 0.5547 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.002395/0.6403, allocations: 1.481 MB / 0.9274 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.6403, allocations: 8.031 kB / 0.9274 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.6414, allocations: 219.3 kB / 0.9276 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.6425, allocations: 0.7734 MB / 0.9284 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.044e-05/0.6426, allocations: 73.98 kB / 0.9284 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.6427, allocations: 88 kB / 0.9285 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.6444, allocations: 1.007 MB / 0.9295 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.6445, allocations: 3.938 kB / 0.9295 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/0.6446, allocations: 40 kB / 0.9296 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.6446, allocations: 20 kB / 0.9296 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.6464, allocations: 1.179 MB / 0.9307 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.6504, allocations: 2.588 MB / 0.9333 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.653, allocations: 0.9732 MB / 0.9342 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/0.6536, allocations: 314.7 kB / 0.9345 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.882e-05/0.6537, allocations: 32.59 kB / 0.9345 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008719/0.6546, allocations: 0.4952 MB / 0.935 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/0.6546, allocations: 0 / 0.935 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003279/0.6579, allocations: 1.221 MB / 0.9362 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.503e-05/0.658, allocations: 196.5 kB / 0.9364 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007937/0.6588, allocations: 0.6409 MB / 0.937 GB, free: 4.898 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.369e-05/0.6589, allocations: 45.7 kB / 0.9371 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.6592, allocations: 416.3 kB / 0.9375 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.6594, allocations: 264.2 kB / 0.9377 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.6597, allocations: 166.5 kB / 0.9379 GB, free: 4 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6599, allocations: 394.8 kB / 0.9382 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.6604, allocations: 269.8 kB / 0.9385 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/0.6611, allocations: 371.1 kB / 0.9389 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.6623, allocations: 0.6189 MB / 0.9395 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6623, allocations: 0 / 0.9395 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002044/0.6643, allocations: 0.876 MB / 0.9403 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6644, allocations: 11.94 kB / 0.9403 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.6644, allocations: 0 / 0.9403 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.665, allocations: 84.86 kB / 0.9404 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.6657, allocations: 163.8 kB / 0.9406 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.6677, allocations: 1.63 MB / 0.9422 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007656/0.6685, allocations: 95.34 kB / 0.9423 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.6686, allocations: 43.91 kB / 0.9423 GB, free: 15.29 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.0004506/0.669, allocations: 272.4 kB / 0.9426 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.6692, allocations: 82.97 kB / 0.9426 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.6716, allocations: 1.097 MB / 0.9437 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.6716, allocations: 7.922 kB / 0.9437 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.6716, allocations: 0 / 0.9437 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.672, allocations: 275.7 kB / 0.944 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.6721, allocations: 23.91 kB / 0.944 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007369/0.6729, allocations: 67.86 kB / 0.9441 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.673, allocations: 72.89 kB / 0.9441 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002097/0.6751, allocations: 0.9786 MB / 0.9451 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002365/0.6775, allocations: 1.441 MB / 0.9465 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006206/0.6781, allocations: 371.8 kB / 0.9468 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005487/0.6787, allocations: 467 kB / 0.9473 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of Backend: time 3.61e-07/0.6787, allocations: 0 / 0.9473 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003202/0.6819, allocations: 1.264 MB / 0.9485 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002924/0.6849, allocations: 2.109 MB / 0.9506 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of Templates: time 0.3838/1.069, allocations: 16.6 MB / 0.9668 GB, free: 185.9 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)