Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_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.007846/0.007846, allocations: 99.7 kB / 15.73 MB, free: 6.004 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.002127/0.002127, allocations: 192.9 kB / 16.67 MB, free: 5.934 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.212/1.212, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.371/2.371, allocations: 482.6 MB / 0.7551 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 67.45 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.26, allocations: 162.3 MB / 1.242 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006119/0.2662, allocations: 5.123 MB / 1.247 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1508/0.417, allocations: 150.7 MB / 1.394 GB, free: 12.55 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006692/0.4177, allocations: 19.88 kB / 1.394 GB, free: 12.54 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004945/0.4182, allocations: 202.1 kB / 1.394 GB, free: 12.34 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.4196, allocations: 0.5663 MB / 1.395 GB, free: 11.77 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.4213, allocations: 0.8453 MB / 1.396 GB, free: 10.93 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.4225, allocations: 1.44 MB / 1.397 GB, free: 9.48 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008204/0.4233, allocations: 0.6559 MB / 1.398 GB, free: 8.797 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.4239, allocations: 0.5061 MB / 1.398 GB, free: 8.289 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.4244, allocations: 0.5445 MB / 1.399 GB, free: 7.742 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.4246, allocations: 128 kB / 1.399 GB, free: 7.617 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007018/0.4253, allocations: 499.6 kB / 1.399 GB, free: 7.129 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.4256, allocations: 319 kB / 1.4 GB, free: 6.816 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005061/0.4261, allocations: 0.6064 MB / 1.4 GB, free: 6.207 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.4278, allocations: 1.743 MB / 1.402 GB, free: 4.457 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4278, allocations: 4 kB / 1.402 GB, free: 4.453 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4278, allocations: 4 kB / 1.402 GB, free: 4.449 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.4278, allocations: 0 / 1.402 GB, free: 4.449 MB / 1.123 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.002271/0.4301, allocations: 1.533 MB / 1.403 GB, free: 2.867 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.4301, allocations: 8.031 kB / 1.403 GB, free: 2.859 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.4303, allocations: 152.1 kB / 1.403 GB, free: 2.703 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009959/0.4313, allocations: 224 kB / 1.404 GB, free: 2.484 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.4323, allocations: 0.7893 MB / 1.404 GB, free: 1.652 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.157e-05/0.4324, allocations: 70 kB / 1.405 GB, free: 1.586 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.4325, allocations: 99.92 kB / 1.405 GB, free: 1.488 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.4341, allocations: 1.015 MB / 1.406 GB, free: 444 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.4341, allocations: 0 / 1.406 GB, free: 444 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/0.4342, allocations: 40 kB / 1.406 GB, free: 404 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.4342, allocations: 24 kB / 1.406 GB, free: 380 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.4361, allocations: 1.171 MB / 1.407 GB, free: 15.2 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00378/0.4399, allocations: 2.964 MB / 1.41 GB, free: 12.09 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.4422, allocations: 0.9815 MB / 1.411 GB, free: 11.08 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.4427, allocations: 314.7 kB / 1.411 GB, free: 10.77 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 6.897e-05/0.4428, allocations: 28.61 kB / 1.411 GB, free: 10.74 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000824/0.4436, allocations: 0.5009 MB / 1.411 GB, free: 10.22 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 1.853e-06/0.4436, allocations: 0 / 1.411 GB, free: 10.22 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.002975/0.4466, allocations: 1.241 MB / 1.413 GB, free: 8.953 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/0.4467, allocations: 188.6 kB / 1.413 GB, free: 8.727 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007044/0.4474, allocations: 0.6333 MB / 1.414 GB, free: 8.09 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/0.4475, allocations: 45.7 kB / 1.414 GB, free: 8.039 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.4478, allocations: 440.9 kB / 1.414 GB, free: 7.602 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.448, allocations: 273.7 kB / 1.414 GB, free: 7.332 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.4483, allocations: 158.5 kB / 1.414 GB, free: 7.168 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4484, allocations: 382.8 kB / 1.415 GB, free: 6.785 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.4489, allocations: 257.8 kB / 1.415 GB, free: 6.535 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/0.4496, allocations: 374.5 kB / 1.415 GB, free: 6.145 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.4507, allocations: 0.5994 MB / 1.416 GB, free: 5.531 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4507, allocations: 0 / 1.416 GB, free: 5.531 MB / 1.139 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001778/0.4525, allocations: 0.8218 MB / 1.417 GB, free: 4.703 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4525, allocations: 11.98 kB / 1.417 GB, free: 4.691 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4525, allocations: 96 / 1.417 GB, free: 4.691 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/0.453, allocations: 80.78 kB / 1.417 GB, free: 4.609 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/0.4536, allocations: 163.7 kB / 1.417 GB, free: 4.449 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.4555, allocations: 1.627 MB / 1.419 GB, free: 2.676 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/0.4561, allocations: 105.1 kB / 1.419 GB, free: 2.574 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.4562, allocations: 31.98 kB / 1.419 GB, free: 2.543 MB / 1.139 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.0003206/0.4565, allocations: 265.9 kB / 1.419 GB, free: 2.273 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.4566, allocations: 87.44 kB / 1.419 GB, free: 2.188 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.4589, allocations: 1.105 MB / 1.42 GB, free: 1.062 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.4589, allocations: 8 kB / 1.42 GB, free: 1.055 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.459, allocations: 0 / 1.42 GB, free: 1.055 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.459, allocations: 3.984 kB / 1.42 GB, free: 1.051 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.462, allocations: 2.005 MB / 1.422 GB, free: 14.98 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.462, allocations: 0 / 1.422 GB, free: 14.98 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.4625, allocations: 159.8 kB / 1.422 GB, free: 14.83 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003914/0.4629, allocations: 68.73 kB / 1.422 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.463, allocations: 27.97 kB / 1.422 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.4648, allocations: 1.654 MB / 1.424 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4648, allocations: 0 / 1.424 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.4667, allocations: 1.034 MB / 1.425 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.467, allocations: 280.2 kB / 1.425 GB, free: 11.59 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.4671, allocations: 27.89 kB / 1.425 GB, free: 11.56 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/0.4677, allocations: 59.94 kB / 1.425 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.4679, allocations: 76.89 kB / 1.425 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/0.468, allocations: 39.91 kB / 1.425 GB, free: 11.39 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005077/0.4685, allocations: 471 kB / 1.426 GB, free: 10.93 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4685, allocations: 0 / 1.426 GB, free: 10.93 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006771/0.4692, allocations: 343 kB / 1.426 GB, free: 10.6 MB / 1.154 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.003717/0.4729, allocations: 2.076 MB / 1.428 GB, free: 8.676 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.4744, allocations: 0.8274 MB / 1.429 GB, free: 7.836 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4744, allocations: 4 kB / 1.429 GB, free: 7.832 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000902/0.4753, allocations: 0.5236 MB / 1.43 GB, free: 7.293 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.4764, allocations: 312.1 kB / 1.43 GB, free: 7.012 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009268/0.4857, allocations: 6.448 MB / 1.436 GB, free: 420 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.4863, allocations: 1.035 MB / 1.437 GB, free: 15.34 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0006639/0.487, allocations: 274.8 kB / 1.437 GB, free: 15.07 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.4875, allocations: 411.2 kB / 1.438 GB, free: 14.66 MB / 1.17 GB Notification: Performance of SimCode: time 2.3e-07/0.4875, allocations: 0 / 1.438 GB, free: 14.66 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.13/3.618, allocations: 22.28 MB / 1.46 GB, free: 8.754 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.86/28.48, allocations: 11.31 kB / 1.46 GB, free: 8.746 MB / 1.186 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)