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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007182/0.007182, allocations: 101 kB / 15.73 MB, free: 6.059 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.001836/0.001836, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002449/0.002449, allocations: 286.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9841/0.9841, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 99.84 kB / 0.681 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3834, allocations: 86.97 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006086/0.3895, allocations: 4.377 MB / 0.7702 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1614/0.5509, allocations: 150.6 MB / 0.9172 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006331/0.5516, allocations: 19.88 kB / 0.9172 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.5521, allocations: 174.4 kB / 0.9174 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.5536, allocations: 0.4913 MB / 0.9179 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.5555, allocations: 0.8393 MB / 0.9187 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.5568, allocations: 1.324 MB / 0.92 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009381/0.5578, allocations: 0.7024 MB / 0.9207 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006141/0.5584, allocations: 0.4943 MB / 0.9212 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006198/0.559, allocations: 0.5172 MB / 0.9217 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.5592, allocations: 128 kB / 0.9218 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008588/0.5601, allocations: 499.5 kB / 0.9223 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.5604, allocations: 319 kB / 0.9226 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005168/0.5609, allocations: 0.5868 MB / 0.9231 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.5628, allocations: 1.706 MB / 0.9248 GB, free: 472 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5628, allocations: 0 / 0.9248 GB, free: 472 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.123e-06/0.5629, allocations: 0 / 0.9248 GB, free: 472 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.5629, allocations: 0 / 0.9248 GB, free: 472 kB / 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.002628/0.5655, allocations: 1.51 MB / 0.9263 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5656, allocations: 12.03 kB / 0.9263 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001813/0.5657, allocations: 148.1 kB / 0.9264 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.5669, allocations: 224 kB / 0.9267 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.5682, allocations: 0.7893 MB / 0.9274 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.5682, allocations: 70 kB / 0.9275 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.5684, allocations: 95.98 kB / 0.9276 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.5701, allocations: 1.007 MB / 0.9286 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.5701, allocations: 0 / 0.9286 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-05/0.5702, allocations: 40 kB / 0.9286 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.5703, allocations: 24 kB / 0.9286 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.5723, allocations: 1.178 MB / 0.9298 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/0.5765, allocations: 2.597 MB / 0.9323 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.5789, allocations: 0.9669 MB / 0.9333 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005861/0.5795, allocations: 310.7 kB / 0.9336 GB, free: 7.27 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.017e-05/0.5796, allocations: 36.59 kB / 0.9336 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009254/0.5805, allocations: 0.4993 MB / 0.9341 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.414e-06/0.5806, allocations: 0 / 0.9341 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.00327/0.5838, allocations: 1.229 MB / 0.9353 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.584, allocations: 196.6 kB / 0.9355 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008529/0.5848, allocations: 0.641 MB / 0.9361 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.258e-05/0.5849, allocations: 41.7 kB / 0.9361 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.5853, allocations: 429 kB / 0.9365 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.5855, allocations: 277.6 kB / 0.9368 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.5858, allocations: 150.6 kB / 0.937 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.586, allocations: 386.8 kB / 0.9373 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.5865, allocations: 249.9 kB / 0.9376 GB, free: 3.051 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/0.5872, allocations: 370.5 kB / 0.9379 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.5883, allocations: 0.5955 MB / 0.9385 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5883, allocations: 0 / 0.9385 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001962/0.5903, allocations: 0.8295 MB / 0.9393 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.5903, allocations: 10.44 kB / 0.9393 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5903, allocations: 0 / 0.9393 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/0.5909, allocations: 84.86 kB / 0.9394 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/0.5916, allocations: 163.8 kB / 0.9395 GB, free: 0.9648 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.5937, allocations: 1.63 MB / 0.9411 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006652/0.5944, allocations: 95.52 kB / 0.9412 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.5945, allocations: 31.97 kB / 0.9413 GB, free: 15.06 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: 15 (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 (88): * Single equations (assignments): 87 * 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.0004236/0.5949, allocations: 264.1 kB / 0.9415 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.5951, allocations: 87.44 kB / 0.9416 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.5975, allocations: 1.116 MB / 0.9427 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.5975, allocations: 8 kB / 0.9427 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.5975, allocations: 4 kB / 0.9427 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.5975, allocations: 3.984 kB / 0.9427 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003371/0.6009, allocations: 2.006 MB / 0.9447 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6009, allocations: 4 kB / 0.9447 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.6015, allocations: 151.8 kB / 0.9448 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/0.602, allocations: 64.8 kB / 0.9449 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.602, allocations: 31.97 kB / 0.9449 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.604, allocations: 1.666 MB / 0.9465 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.604, allocations: 0 / 0.9465 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.606, allocations: 1.026 MB / 0.9475 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.6064, allocations: 284.1 kB / 0.9478 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.6065, allocations: 20 kB / 0.9478 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/0.6072, allocations: 67.92 kB / 0.9479 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.6073, allocations: 68.91 kB / 0.948 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.591e-05/0.6074, allocations: 43.91 kB / 0.948 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005586/0.608, allocations: 467 kB / 0.9484 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.608, allocations: 0 / 0.9484 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008944/0.6089, allocations: 331 kB / 0.9488 GB, free: 7.121 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.004003/0.6129, allocations: 2.082 MB / 0.9508 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.6146, allocations: 0.8158 MB / 0.9516 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6146, allocations: 4 kB / 0.9516 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009652/0.6156, allocations: 0.5198 MB / 0.9521 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.6167, allocations: 290.4 kB / 0.9524 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3014/0.9182, allocations: 6.548 MB / 0.9588 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.9187, allocations: 1.045 MB / 0.9598 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007742/0.9195, allocations: 275 kB / 0.9601 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/0.92, allocations: 401.3 kB / 0.9604 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.493e-06/0.92, allocations: 0 / 0.9604 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3318/1.252, allocations: 21.86 MB / 0.9818 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.69, allocations: 9.281 kB / 0.9818 GB, free: 170.7 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)