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.001022/0.001022, allocations: 92.55 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 167.5 kB / 16.58 MB, free: 6.066 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.349/1.349, allocations: 223.2 MB / 240.6 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6553/0.6553, allocations: 113.7 MB / 405.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003157, allocations: 10.62 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1505, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004724/0.1553, allocations: 3.756 MB / 0.5606 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4166/0.572, allocations: 136.8 MB / 0.6941 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006498/0.5727, allocations: 19.88 kB / 0.6941 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.5733, allocations: 127 kB / 0.6943 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.5747, allocations: 420.4 kB / 0.6947 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.5765, allocations: 0.6371 MB / 0.6953 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.5781, allocations: 1.133 MB / 0.6964 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.5792, allocations: 0.5402 MB / 0.6969 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000752/0.58, allocations: 338.4 kB / 0.6973 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007393/0.5807, allocations: 374 kB / 0.6976 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.5809, allocations: 28 kB / 0.6976 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009622/0.5819, allocations: 331.7 kB / 0.698 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003168/0.5822, allocations: 191.1 kB / 0.6981 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.5826, allocations: 201.1 kB / 0.6983 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.584, allocations: 1.22 MB / 0.6995 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.584, allocations: 4 kB / 0.6995 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.452e-06/0.584, allocations: 0 / 0.6995 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.461e-05/0.5841, allocations: 4 kB / 0.6995 GB, free: 8.543 MB / 0.5137 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.002635/0.5867, allocations: 1.263 MB / 0.7008 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5868, allocations: 12.03 kB / 0.7008 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002906/0.5871, allocations: 151.9 kB / 0.7009 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.5882, allocations: 222.4 kB / 0.7011 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.5894, allocations: 0.7309 MB / 0.7018 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/0.5894, allocations: 73.95 kB / 0.7019 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.5896, allocations: 92 kB / 0.702 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.5914, allocations: 1.003 MB / 0.703 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.5914, allocations: 3.938 kB / 0.703 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.434e-05/0.5915, allocations: 43.98 kB / 0.703 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.5916, allocations: 24 kB / 0.703 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.5935, allocations: 1.167 MB / 0.7042 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00441/0.5979, allocations: 2.664 MB / 0.7068 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.6001, allocations: 0.9682 MB / 0.7077 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.6007, allocations: 316.4 kB / 0.708 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.603e-05/0.6008, allocations: 32.61 kB / 0.7081 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009441/0.6017, allocations: 0.5029 MB / 0.7086 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.414e-06/0.6017, allocations: 0 / 0.7086 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.002995/0.6047, allocations: 1.229 MB / 0.7098 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.6049, allocations: 192.6 kB / 0.7099 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009647/0.6059, allocations: 0.6332 MB / 0.7106 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.341e-05/0.6059, allocations: 45.7 kB / 0.7106 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.6063, allocations: 424.2 kB / 0.711 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.6066, allocations: 264.2 kB / 0.7113 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.6066, allocations: 16 kB / 0.7113 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.6068, allocations: 390.8 kB / 0.7116 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005161/0.6073, allocations: 253.9 kB / 0.7119 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/0.6079, allocations: 366.5 kB / 0.7122 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.6085, allocations: 302.8 kB / 0.7125 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.6085, allocations: 0 / 0.7125 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001792/0.6103, allocations: 0.8292 MB / 0.7133 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6103, allocations: 8 kB / 0.7133 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6104, allocations: 0 / 0.7133 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000508/0.6109, allocations: 80.88 kB / 0.7134 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.6115, allocations: 159.8 kB / 0.7136 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.6134, allocations: 1.524 MB / 0.7151 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000694/0.6141, allocations: 100 kB / 0.7152 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/0.6142, allocations: 31.97 kB / 0.7152 GB, free: 7.977 MB / 0.5294 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004988/0.6147, allocations: 278.2 kB / 0.7155 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.6149, allocations: 82.97 kB / 0.7155 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.6172, allocations: 1.11 MB / 0.7166 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.6173, allocations: 8 kB / 0.7166 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6173, allocations: 0 / 0.7166 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.6173, allocations: 7.969 kB / 0.7166 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.6206, allocations: 2.029 MB / 0.7186 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.6206, allocations: 0 / 0.7186 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.6212, allocations: 151.8 kB / 0.7188 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.6217, allocations: 84.78 kB / 0.7188 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.829e-05/0.6218, allocations: 31.97 kB / 0.7189 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.6234, allocations: 1.54 MB / 0.7204 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6234, allocations: 4.031 kB / 0.7204 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.6253, allocations: 1.016 MB / 0.7214 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/0.6257, allocations: 291.6 kB / 0.7216 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.6258, allocations: 23.94 kB / 0.7217 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.6265, allocations: 87.2 kB / 0.7218 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.6266, allocations: 76.89 kB / 0.7218 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.6267, allocations: 31.97 kB / 0.7219 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005649/0.6273, allocations: 467 kB / 0.7223 GB, free: 444 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6273, allocations: 0 / 0.7223 GB, free: 444 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008861/0.6282, allocations: 323.1 kB / 0.7226 GB, free: 120 kB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003368/0.6315, allocations: 2.076 MB / 0.7246 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.6332, allocations: 0.8156 MB / 0.7254 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6333, allocations: 0 / 0.7254 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009702/0.6342, allocations: 0.5315 MB / 0.726 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.6355, allocations: 265.2 kB / 0.7262 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.6467, allocations: 5.277 MB / 0.7314 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/0.6475, allocations: 1.039 MB / 0.7324 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009537/0.6484, allocations: 266.7 kB / 0.7326 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006049/0.6491, allocations: 419.3 kB / 0.733 GB, free: 5.453 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.6491, allocations: 0 / 0.733 GB, free: 5.453 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07042/0.7195, allocations: 21.72 MB / 0.7542 GB, free: 156 kB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000363/0.7199, allocations: 289.3 kB / 0.7545 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/3.184, allocations: 6.594 kB / 0.7545 GB, free: 15.8 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/linux/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) Environment - environmentSimulation: