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.007356/0.007356, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001682/0.001682, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 282.6 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9036/0.9036, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003024/0.003025, allocations: 87.86 kB / 0.6809 GB, free: 32 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1653, allocations: 86.98 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005797/0.1711, allocations: 4.389 MB / 0.7702 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4868/0.6579, allocations: 150.6 MB / 0.9172 GB, free: 7.973 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008849/0.6589, allocations: 15.94 kB / 0.9172 GB, free: 7.957 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006047/0.6595, allocations: 176.2 kB / 0.9174 GB, free: 7.785 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.6612, allocations: 0.5036 MB / 0.9179 GB, free: 7.297 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.6632, allocations: 0.831 MB / 0.9187 GB, free: 6.496 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.6646, allocations: 1.325 MB / 0.92 GB, free: 5.164 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009146/0.6655, allocations: 0.6884 MB / 0.9207 GB, free: 4.457 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006708/0.6662, allocations: 0.5022 MB / 0.9212 GB, free: 3.953 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.6668, allocations: 0.5211 MB / 0.9217 GB, free: 3.43 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.667, allocations: 132 kB / 0.9218 GB, free: 3.301 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009045/0.6679, allocations: 0.4909 MB / 0.9223 GB, free: 2.812 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.6682, allocations: 315 kB / 0.9226 GB, free: 2.504 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004949/0.6687, allocations: 0.5829 MB / 0.9231 GB, free: 1.918 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.6705, allocations: 1.697 MB / 0.9248 GB, free: 224 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6705, allocations: 0 / 0.9248 GB, free: 224 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6705, allocations: 0 / 0.9248 GB, free: 224 kB / 0.67 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.6705, allocations: 0 / 0.9248 GB, free: 224 kB / 0.67 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.00263/0.6732, allocations: 1.488 MB / 0.9263 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.6732, allocations: 12.03 kB / 0.9263 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.6734, allocations: 144.1 kB / 0.9264 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.6745, allocations: 211.3 kB / 0.9266 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.6757, allocations: 0.7813 MB / 0.9274 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.895e-05/0.6757, allocations: 81.67 kB / 0.9274 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.6759, allocations: 92 kB / 0.9275 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.6775, allocations: 1.01 MB / 0.9285 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.6776, allocations: 0 / 0.9285 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.943e-05/0.6777, allocations: 36 kB / 0.9286 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.6777, allocations: 24 kB / 0.9286 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.6795, allocations: 1.179 MB / 0.9297 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/0.6835, allocations: 2.586 MB / 0.9323 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.6857, allocations: 0.9734 MB / 0.9332 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/0.6863, allocations: 314.6 kB / 0.9335 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-05/0.6864, allocations: 28.59 kB / 0.9335 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008477/0.6872, allocations: 0.4992 MB / 0.934 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.6873, allocations: 0 / 0.934 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003046/0.6903, allocations: 1.217 MB / 0.9352 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.6904, allocations: 196.5 kB / 0.9354 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007343/0.6912, allocations: 0.6411 MB / 0.936 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.144e-05/0.6912, allocations: 45.64 kB / 0.9361 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.6915, allocations: 432.1 kB / 0.9365 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.6917, allocations: 256.2 kB / 0.9367 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.692, allocations: 154.5 kB / 0.9369 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6921, allocations: 386.8 kB / 0.9372 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/0.6926, allocations: 253.9 kB / 0.9375 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.6932, allocations: 370.5 kB / 0.9378 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.6943, allocations: 0.5955 MB / 0.9384 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6943, allocations: 0 / 0.9384 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001782/0.6961, allocations: 0.8138 MB / 0.9392 GB, free: 1.066 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6961, allocations: 15.92 kB / 0.9392 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6961, allocations: 4 kB / 0.9392 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005773/0.6967, allocations: 84.72 kB / 0.9393 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006387/0.6973, allocations: 155.8 kB / 0.9395 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.6994, allocations: 1.627 MB / 0.941 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000643/0.7, allocations: 98.22 kB / 0.9411 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.7001, allocations: 31.92 kB / 0.9412 GB, free: 14.91 MB / 0.7012 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.0003977/0.7005, allocations: 277.7 kB / 0.9414 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.7007, allocations: 79.06 kB / 0.9415 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.703, allocations: 1.099 MB / 0.9426 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.703, allocations: 12 kB / 0.9426 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.703, allocations: 0 / 0.9426 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.703, allocations: 3.984 kB / 0.9426 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.7063, allocations: 2.01 MB / 0.9446 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7063, allocations: 3.984 kB / 0.9446 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/0.7069, allocations: 155.7 kB / 0.9447 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/0.7073, allocations: 76.77 kB / 0.9448 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.7074, allocations: 27.27 kB / 0.9448 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.7093, allocations: 1.658 MB / 0.9464 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7093, allocations: 0 / 0.9464 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.7112, allocations: 1.018 MB / 0.9474 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.7116, allocations: 287.6 kB / 0.9477 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.7117, allocations: 20 kB / 0.9477 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.7124, allocations: 67.92 kB / 0.9478 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.7125, allocations: 68.91 kB / 0.9478 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.7126, allocations: 35.97 kB / 0.9479 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005584/0.7132, allocations: 467 kB / 0.9483 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7132, allocations: 0 / 0.9483 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000832/0.714, allocations: 331 kB / 0.9486 GB, free: 6.996 MB / 0.7012 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.003419/0.7175, allocations: 2.058 MB / 0.9507 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.7191, allocations: 0.8206 MB / 0.9515 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7192, allocations: 0 / 0.9515 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009087/0.7201, allocations: 0.5314 MB / 0.952 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.7213, allocations: 288.4 kB / 0.9522 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.7321, allocations: 6.523 MB / 0.9586 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/0.7327, allocations: 1.039 MB / 0.9596 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008286/0.7336, allocations: 274.7 kB / 0.9599 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005517/0.7341, allocations: 407.3 kB / 0.9603 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of SimCode: time 1.363e-06/0.7341, allocations: 0 / 0.9603 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05675/0.7909, allocations: 22.29 MB / 0.982 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.08, allocations: 10.8 kB / 0.9821 GB, free: 5.141 MB / 0.7325 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)