Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_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.001059/0.001059, allocations: 103.9 kB / 15.98 MB, free: 6.332 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.001034/0.001034, allocations: 199.9 kB / 16.91 MB, free: 6.18 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.252/1.252, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6657/0.6657, allocations: 115.3 MB / 406.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 55.91 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2831, allocations: 76.18 MB / 0.556 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004996/0.2881, allocations: 5.099 MB / 0.561 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1326/0.4207, allocations: 148.4 MB / 0.706 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008936/0.4217, allocations: 19.94 kB / 0.706 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006706/0.4223, allocations: 154.8 kB / 0.7061 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.4242, allocations: 0.493 MB / 0.7066 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.4261, allocations: 0.7571 MB / 0.7074 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.4277, allocations: 1.44 MB / 0.7088 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000878/0.4286, allocations: 0.6521 MB / 0.7094 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006573/0.4292, allocations: 0.51 MB / 0.7099 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006331/0.4299, allocations: 0.5445 MB / 0.7104 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.4301, allocations: 128 kB / 0.7106 GB, free: 5.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007841/0.4309, allocations: 467.6 kB / 0.711 GB, free: 5.383 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.4312, allocations: 330.9 kB / 0.7113 GB, free: 5.059 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.4317, allocations: 0.5986 MB / 0.7119 GB, free: 4.457 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.4334, allocations: 1.702 MB / 0.7136 GB, free: 2.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4334, allocations: 0 / 0.7136 GB, free: 2.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4334, allocations: 0 / 0.7136 GB, free: 2.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.4334, allocations: 3.938 kB / 0.7136 GB, free: 2.746 MB / 0.545 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.002304/0.4357, allocations: 1.492 MB / 0.715 GB, free: 1.203 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.4358, allocations: 8.031 kB / 0.715 GB, free: 1.195 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.4359, allocations: 148.1 kB / 0.7152 GB, free: 1.043 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.437, allocations: 223.3 kB / 0.7154 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/0.4379, allocations: 0.7653 MB / 0.7161 GB, free: 20 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.4379, allocations: 70.08 kB / 0.7162 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.4381, allocations: 92 kB / 0.7163 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.4397, allocations: 1.011 MB / 0.7173 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.4397, allocations: 0 / 0.7173 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.022e-05/0.4398, allocations: 43.98 kB / 0.7173 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.4398, allocations: 24 kB / 0.7173 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.4416, allocations: 1.171 MB / 0.7185 GB, free: 13.57 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.4454, allocations: 2.893 MB / 0.7213 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.4477, allocations: 0.9708 MB / 0.7223 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/0.4482, allocations: 306.7 kB / 0.7225 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.012e-05/0.4483, allocations: 36.59 kB / 0.7226 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008996/0.4492, allocations: 0.503 MB / 0.7231 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.094e-06/0.4492, allocations: 0 / 0.7231 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003074/0.4523, allocations: 1.225 MB / 0.7243 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.4524, allocations: 196.5 kB / 0.7245 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.4531, allocations: 0.641 MB / 0.7251 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/0.4532, allocations: 45.7 kB / 0.7251 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.4535, allocations: 424.2 kB / 0.7255 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.4537, allocations: 264.2 kB / 0.7258 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.4539, allocations: 150.5 kB / 0.7259 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.454, allocations: 382.8 kB / 0.7263 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.4545, allocations: 257.9 kB / 0.7265 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.4552, allocations: 370.5 kB / 0.7269 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.4562, allocations: 0.5994 MB / 0.7275 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4563, allocations: 3.938 kB / 0.7275 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001832/0.4581, allocations: 0.8292 MB / 0.7283 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4581, allocations: 9.562 kB / 0.7283 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4581, allocations: 0 / 0.7283 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005701/0.4587, allocations: 84.86 kB / 0.7284 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.4593, allocations: 151.8 kB / 0.7285 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.4613, allocations: 1.639 MB / 0.7301 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/0.4619, allocations: 107.2 kB / 0.7302 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.462, allocations: 27.98 kB / 0.7303 GB, free: 1.035 MB / 0.5606 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.0003323/0.4623, allocations: 273.6 kB / 0.7305 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.4625, allocations: 79.06 kB / 0.7306 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.4648, allocations: 1.105 MB / 0.7317 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4649, allocations: 8 kB / 0.7317 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.4649, allocations: 0 / 0.7317 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4649, allocations: 3.984 kB / 0.7317 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.4679, allocations: 2.008 MB / 0.7336 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4679, allocations: 0 / 0.7336 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/0.4685, allocations: 151.8 kB / 0.7338 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.469, allocations: 72.78 kB / 0.7339 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.469, allocations: 23.98 kB / 0.7339 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.4708, allocations: 1.674 MB / 0.7355 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4708, allocations: 3.984 kB / 0.7355 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.4727, allocations: 1.016 MB / 0.7365 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.473, allocations: 271.7 kB / 0.7368 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.4732, allocations: 24 kB / 0.7368 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000669/0.4739, allocations: 73.55 kB / 0.7369 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.474, allocations: 72.84 kB / 0.7369 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.4741, allocations: 43.91 kB / 0.737 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005033/0.4746, allocations: 467 kB / 0.7374 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4746, allocations: 0 / 0.7374 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006989/0.4753, allocations: 335.1 kB / 0.7377 GB, free: 9.105 MB / 0.5762 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.00331/0.4786, allocations: 2.076 MB / 0.7398 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.4808, allocations: 1.027 MB / 0.7408 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4808, allocations: 0 / 0.7408 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008859/0.4817, allocations: 0.5314 MB / 0.7413 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.4828, allocations: 309 kB / 0.7416 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1917/0.6746, allocations: 7.076 MB / 0.7485 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.6751, allocations: 1.045 MB / 0.7495 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009111/0.676, allocations: 269 kB / 0.7498 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/0.6765, allocations: 403 kB / 0.7502 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.6765, allocations: 0 / 0.7502 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2716/0.9481, allocations: 21.82 MB / 0.7715 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/0.9483, allocations: 314.7 kB / 0.7718 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.283, allocations: 0 / 0.7718 GB, free: 164.7 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)