Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.0007296/0.0007297, allocations: 92.86 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.0009075/0.0009075, allocations: 171.6 kB / 16.58 MB, free: 5.945 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.33/1.33, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6637/0.6637, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 16 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005105/0.1529, allocations: 3.783 MB / 0.5606 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4519/0.6049, allocations: 136.8 MB / 0.6942 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008483/0.6058, allocations: 15.94 kB / 0.6942 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.6065, allocations: 134.9 kB / 0.6943 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.6081, allocations: 434.4 kB / 0.6947 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.6101, allocations: 0.6362 MB / 0.6954 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001556/0.6117, allocations: 1.152 MB / 0.6965 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008958/0.6126, allocations: 482.8 kB / 0.6969 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006988/0.6133, allocations: 346.5 kB / 0.6973 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007414/0.614, allocations: 382 kB / 0.6976 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.6142, allocations: 28 kB / 0.6977 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009592/0.6152, allocations: 335.7 kB / 0.698 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.6155, allocations: 195 kB / 0.6982 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.6159, allocations: 197.1 kB / 0.6984 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.6174, allocations: 1.177 MB / 0.6995 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.6174, allocations: 0 / 0.6995 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6174, allocations: 0 / 0.6995 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.926e-05/0.6175, allocations: 4 kB / 0.6995 GB, free: 8.734 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002733/0.6202, allocations: 1.238 MB / 0.7007 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.6202, allocations: 16.03 kB / 0.7007 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002754/0.6205, allocations: 139.3 kB / 0.7009 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009647/0.6215, allocations: 198.4 kB / 0.7011 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.6228, allocations: 0.7271 MB / 0.7018 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.6229, allocations: 65.95 kB / 0.7018 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.6231, allocations: 84 kB / 0.7019 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.6248, allocations: 0.9418 MB / 0.7028 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.6248, allocations: 3.984 kB / 0.7028 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-05/0.6249, allocations: 35.94 kB / 0.7029 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.6249, allocations: 24 kB / 0.7029 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.6268, allocations: 1.128 MB / 0.704 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004104/0.6309, allocations: 2.564 MB / 0.7065 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.6325, allocations: 0.9071 MB / 0.7074 GB, free: 444 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.633, allocations: 322 kB / 0.7077 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.074e-05/0.6331, allocations: 40.67 kB / 0.7077 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009586/0.6341, allocations: 0.5136 MB / 0.7082 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=84): time 2.726e-06/0.6341, allocations: 0 / 0.7082 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84): time 0.002989/0.6371, allocations: 1.259 MB / 0.7095 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.6372, allocations: 196.9 kB / 0.7096 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008983/0.6382, allocations: 0.6293 MB / 0.7103 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.3e-05/0.6382, allocations: 41.7 kB / 0.7103 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.6386, allocations: 400.4 kB / 0.7107 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.6388, allocations: 268.1 kB / 0.7109 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.6388, allocations: 16 kB / 0.7109 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.639, allocations: 390.7 kB / 0.7113 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.6395, allocations: 257.9 kB / 0.7116 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.6401, allocations: 374.5 kB / 0.7119 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.6406, allocations: 298.9 kB / 0.7122 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6406, allocations: 0 / 0.7122 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001734/0.6424, allocations: 0.8447 MB / 0.713 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.6424, allocations: 4 kB / 0.713 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.6424, allocations: 3.938 kB / 0.713 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/0.6429, allocations: 80.88 kB / 0.7131 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.6435, allocations: 159.8 kB / 0.7133 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.6457, allocations: 1.516 MB / 0.7148 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007013/0.6464, allocations: 116.1 kB / 0.7149 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/0.6465, allocations: 27.98 kB / 0.7149 GB, free: 8.445 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: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$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 (91): * Single equations (assignments): 90 * 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.0005136/0.647, allocations: 265.7 kB / 0.7151 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.6472, allocations: 86.92 kB / 0.7152 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.6496, allocations: 1.149 MB / 0.7163 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.6496, allocations: 12 kB / 0.7164 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6496, allocations: 3.984 kB / 0.7164 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.6497, allocations: 3.984 kB / 0.7164 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.653, allocations: 2.025 MB / 0.7183 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.653, allocations: 0 / 0.7183 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.6536, allocations: 155.8 kB / 0.7185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/0.6541, allocations: 92.66 kB / 0.7186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.6542, allocations: 31.92 kB / 0.7186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.6559, allocations: 1.54 MB / 0.7201 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.656, allocations: 3.984 kB / 0.7201 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.6579, allocations: 1.047 MB / 0.7211 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.6584, allocations: 299.5 kB / 0.7214 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.6585, allocations: 23.98 kB / 0.7215 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.6592, allocations: 84.73 kB / 0.7215 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.6594, allocations: 76.89 kB / 0.7216 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.362e-05/0.6594, allocations: 39.97 kB / 0.7216 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006658/0.6601, allocations: 459 kB / 0.7221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6601, allocations: 0 / 0.7221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009471/0.6611, allocations: 319.2 kB / 0.7224 GB, free: 0.5078 MB / 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003483/0.6646, allocations: 2.088 MB / 0.7244 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.6662, allocations: 0.8351 MB / 0.7252 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.6662, allocations: 0 / 0.7252 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008848/0.6671, allocations: 0.5472 MB / 0.7258 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.6683, allocations: 263 kB / 0.726 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.6786, allocations: 5.235 MB / 0.7311 GB, free: 7.586 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007615/0.6794, allocations: 1.039 MB / 0.7322 GB, free: 6.516 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000986/0.6804, allocations: 266.8 kB / 0.7324 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00063/0.6811, allocations: 407.2 kB / 0.7328 GB, free: 5.852 MB / 0.545 GB Notification: Performance of SimCode: time 2.595e-06/0.6811, allocations: 0 / 0.7328 GB, free: 5.852 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04337/0.7245, allocations: 21.71 MB / 0.754 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/0.7248, allocations: 295.1 kB / 0.7543 GB, free: 220 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/3.037, allocations: 0 / 0.7543 GB, free: 220 kB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: