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.0009388/0.0009388, allocations: 96.66 kB / 15.7 MB, free: 468 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.001182/0.001182, allocations: 173.7 kB / 16.57 MB, free: 6.398 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.337/1.337, allocations: 223.2 MB / 240.5 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6489/0.6489, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003207, allocations: 8.969 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004219/0.144, allocations: 3.684 MB / 0.5603 GB, free: 7.977 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4111/0.5551, allocations: 127.5 MB / 0.6849 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005959/0.5557, allocations: 15.88 kB / 0.6849 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.5561, allocations: 79.27 kB / 0.685 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.5574, allocations: 0.5016 MB / 0.6855 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.559, allocations: 0.6325 MB / 0.6861 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001098/0.5601, allocations: 0.8338 MB / 0.6869 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006643/0.5607, allocations: 482 kB / 0.6874 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.5613, allocations: 350.5 kB / 0.6877 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004161/0.5617, allocations: 358.2 kB / 0.688 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.596e-05/0.5618, allocations: 24 kB / 0.6881 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000672/0.5625, allocations: 319.6 kB / 0.6884 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.5627, allocations: 179.2 kB / 0.6885 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.5628, allocations: 197.1 kB / 0.6887 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.5639, allocations: 1.178 MB / 0.6899 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5639, allocations: 0 / 0.6899 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5639, allocations: 3.938 kB / 0.6899 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.564, allocations: 0 / 0.6899 GB, free: 1.68 MB / 0.4981 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.002194/0.5662, allocations: 1.254 MB / 0.6911 GB, free: 388 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.5662, allocations: 8.031 kB / 0.6911 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.5664, allocations: 139.3 kB / 0.6912 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008656/0.5672, allocations: 198.9 kB / 0.6914 GB, free: 32 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5683, allocations: 0.7271 MB / 0.6921 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.5684, allocations: 69.95 kB / 0.6922 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.5685, allocations: 80 kB / 0.6923 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.57, allocations: 0.9406 MB / 0.6932 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.57, allocations: 3.984 kB / 0.6932 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.104e-05/0.5701, allocations: 39.94 kB / 0.6932 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.5701, allocations: 27.98 kB / 0.6933 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.5719, allocations: 1.12 MB / 0.6944 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003916/0.5758, allocations: 2.566 MB / 0.6969 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.5773, allocations: 0.911 MB / 0.6978 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.298e-05/0.5774, allocations: 36.67 kB / 0.6978 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008847/0.5783, allocations: 0.5097 MB / 0.6983 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=84): time 2.525e-06/0.5783, allocations: 4 kB / 0.6983 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84): time 0.003045/0.5814, allocations: 1.26 MB / 0.6995 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.325e-05/0.5815, allocations: 188.9 kB / 0.6997 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008067/0.5823, allocations: 0.6332 MB / 0.7003 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/0.5824, allocations: 49.69 kB / 0.7004 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.5827, allocations: 396.4 kB / 0.7007 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.5829, allocations: 268.1 kB / 0.701 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.583, allocations: 20 kB / 0.701 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.5832, allocations: 386.8 kB / 0.7014 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/0.5837, allocations: 253.9 kB / 0.7016 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.5842, allocations: 366.5 kB / 0.702 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.5848, allocations: 318.9 kB / 0.7023 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.5848, allocations: 0 / 0.7023 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001844/0.5867, allocations: 0.8214 MB / 0.7031 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.5867, allocations: 11.95 kB / 0.7031 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.5867, allocations: 0 / 0.7031 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/0.5873, allocations: 88.8 kB / 0.7032 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/0.588, allocations: 159.8 kB / 0.7033 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.5899, allocations: 1.524 MB / 0.7048 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/0.5906, allocations: 115.3 kB / 0.7049 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.5907, allocations: 27.98 kB / 0.705 GB, free: 1.699 MB / 0.5137 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.0004074/0.5911, allocations: 269.6 kB / 0.7052 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.5912, allocations: 86.92 kB / 0.7053 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.5936, allocations: 1.149 MB / 0.7064 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.5936, allocations: 12 kB / 0.7064 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5936, allocations: 3.984 kB / 0.7064 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.5937, allocations: 3.984 kB / 0.7064 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.5968, allocations: 2.025 MB / 0.7084 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5969, allocations: 4 kB / 0.7084 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006155/0.5975, allocations: 163.7 kB / 0.7086 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005104/0.598, allocations: 88.72 kB / 0.7087 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.685e-05/0.5981, allocations: 27.98 kB / 0.7087 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.6, allocations: 1.552 MB / 0.7102 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6, allocations: 0 / 0.7102 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.602, allocations: 1.047 MB / 0.7112 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/0.6024, allocations: 299.5 kB / 0.7115 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.6025, allocations: 24 kB / 0.7115 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008864/0.6034, allocations: 87.58 kB / 0.7116 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.6036, allocations: 77.11 kB / 0.7117 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.6038, allocations: 39.97 kB / 0.7117 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005805/0.6044, allocations: 459 kB / 0.7122 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6044, allocations: 4 kB / 0.7122 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008777/0.6052, allocations: 315.2 kB / 0.7125 GB, free: 9.75 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.003543/0.6088, allocations: 2.095 MB / 0.7145 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001977/0.6108, allocations: 0.8312 MB / 0.7153 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.6108, allocations: 4.188 kB / 0.7153 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.6119, allocations: 0.5354 MB / 0.7159 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.6133, allocations: 250 kB / 0.7161 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.6238, allocations: 5.637 MB / 0.7216 GB, free: 436 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.6246, allocations: 1.058 MB / 0.7226 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008737/0.6254, allocations: 270.9 kB / 0.7229 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/0.626, allocations: 395.3 kB / 0.7233 GB, free: 14.68 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.626, allocations: 0 / 0.7233 GB, free: 14.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/0.6709, allocations: 21.68 MB / 0.7444 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004261/0.6714, allocations: 276.2 kB / 0.7447 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/3.222, allocations: 3.938 kB / 0.7447 GB, free: 9.07 MB / 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: