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.001171/0.001171, allocations: 105.6 kB / 16.41 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.001175/0.001175, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002244/0.002244, allocations: 295.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 95.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5952/0.597, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006523/0.6036, allocations: 4.384 MB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1952/0.7988, allocations: 150.6 MB / 0.9184 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.8001, allocations: 19.88 kB / 0.9184 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008535/0.801, allocations: 170.4 kB / 0.9185 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.8036, allocations: 0.5058 MB / 0.919 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.8065, allocations: 0.8344 MB / 0.9199 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002089/0.8086, allocations: 1.32 MB / 0.9211 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.8099, allocations: 0.6907 MB / 0.9218 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.811, allocations: 0.506 MB / 0.9223 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009821/0.812, allocations: 0.5211 MB / 0.9228 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003906/0.8124, allocations: 128 kB / 0.9229 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.8136, allocations: 495.6 kB / 0.9234 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.814, allocations: 323 kB / 0.9237 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006253/0.8146, allocations: 0.5752 MB / 0.9243 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.8166, allocations: 1.696 MB / 0.9259 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8166, allocations: 0 / 0.9259 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8167, allocations: 0 / 0.9259 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.8167, allocations: 0 / 0.9259 GB, free: 0.5391 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.002604/0.8193, allocations: 1.481 MB / 0.9274 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.8193, allocations: 8.031 kB / 0.9274 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.8204, allocations: 211.3 kB / 0.9276 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.8216, allocations: 0.7811 MB / 0.9284 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.8217, allocations: 70 kB / 0.9284 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.8218, allocations: 95.98 kB / 0.9285 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.8235, allocations: 1.003 MB / 0.9295 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.8236, allocations: 4 kB / 0.9295 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/0.8237, allocations: 40 kB / 0.9295 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.8237, allocations: 24 kB / 0.9296 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.8256, allocations: 1.175 MB / 0.9307 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003977/0.8296, allocations: 2.596 MB / 0.9332 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.832, allocations: 0.9693 MB / 0.9342 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/0.8325, allocations: 310.7 kB / 0.9345 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.154e-05/0.8326, allocations: 32.61 kB / 0.9345 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008927/0.8335, allocations: 0.4952 MB / 0.935 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.474e-06/0.8336, allocations: 0 / 0.935 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003117/0.8367, allocations: 1.221 MB / 0.9362 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.8368, allocations: 200.5 kB / 0.9364 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008343/0.8377, allocations: 0.6409 MB / 0.937 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/0.8377, allocations: 45.69 kB / 0.9371 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.8381, allocations: 424.3 kB / 0.9375 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.8383, allocations: 264.2 kB / 0.9377 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.8386, allocations: 166.5 kB / 0.9379 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.8388, allocations: 386.7 kB / 0.9382 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/0.8394, allocations: 277.8 kB / 0.9385 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/0.84, allocations: 367.1 kB / 0.9389 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.8412, allocations: 0.6267 MB / 0.9395 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.8412, allocations: 0 / 0.9395 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002004/0.8432, allocations: 0.8759 MB / 0.9403 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.8433, allocations: 4 kB / 0.9403 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.8433, allocations: 0 / 0.9403 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/0.8439, allocations: 80.88 kB / 0.9404 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.8445, allocations: 167.8 kB / 0.9406 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.8466, allocations: 1.63 MB / 0.9422 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007344/0.8474, allocations: 95.33 kB / 0.9422 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.8475, allocations: 39.97 kB / 0.9423 GB, free: 15.26 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.0005097/0.848, allocations: 273.8 kB / 0.9425 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.8482, allocations: 82.97 kB / 0.9426 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.8506, allocations: 1.105 MB / 0.9437 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.8506, allocations: 12 kB / 0.9437 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.8506, allocations: 3.938 kB / 0.9437 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.8506, allocations: 3.984 kB / 0.9437 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.8541, allocations: 2.002 MB / 0.9457 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8541, allocations: 0 / 0.9457 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/0.8547, allocations: 155.8 kB / 0.9458 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/0.8551, allocations: 68.8 kB / 0.9459 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.8552, allocations: 31.97 kB / 0.9459 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.8572, allocations: 1.65 MB / 0.9475 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8572, allocations: 4.031 kB / 0.9475 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.8594, allocations: 1.025 MB / 0.9485 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/0.8599, allocations: 275.7 kB / 0.9488 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.8601, allocations: 24.06 kB / 0.9488 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/0.8608, allocations: 59.94 kB / 0.9489 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.861, allocations: 73.03 kB / 0.949 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-05/0.8611, allocations: 39.95 kB / 0.949 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000742/0.8618, allocations: 475 kB / 0.9494 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8619, allocations: 0 / 0.9494 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001089/0.863, allocations: 319.2 kB / 0.9497 GB, free: 7.352 MB / 0.7169 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.001622/0.8646, allocations: 0.5989 MB / 0.9503 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002023/0.8666, allocations: 0.8584 MB / 0.9512 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8666, allocations: 0 / 0.9512 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.8677, allocations: 0.5316 MB / 0.9517 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.869, allocations: 295.2 kB / 0.952 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/0.8737, allocations: 1.859 MB / 0.9538 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008784/0.8746, allocations: 1.043 MB / 0.9548 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.875, allocations: 119.4 kB / 0.9549 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of SimCode: time 2.725e-06/0.875, allocations: 4 kB / 0.9549 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of Templates: time 0.4878/1.363, allocations: 19.35 MB / 0.9738 GB, free: 178.7 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)