Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6964/0.6964, allocations: 127.4 MB / 134.9 MB, free: 3.746 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 171.6 kB / 164.6 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.2 MB / 399.5 MB, free: 5.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009716/0.0009721, allocations: 94.91 kB / 476.7 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.125e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1768, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.004/6.181, allocations: 2.147 GB / 2.769 GB, free: 39.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004259/6.181, allocations: 99.67 kB / 2.769 GB, free: 39.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.5832/6.765, allocations: 59.55 MB / 2.827 GB, free: 199.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/6.765, allocations: 0 / 2.827 GB, free: 199.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.906e-05/6.765, allocations: 21.06 kB / 2.827 GB, free: 199.4 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.001941/6.767, allocations: 1.062 MB / 2.828 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/6.767, allocations: 11.12 kB / 2.828 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/6.769, allocations: 384.9 kB / 2.829 GB, free: 198.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009519/6.77, allocations: 0.5443 MB / 2.829 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/6.77, allocations: 28.48 kB / 2.829 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/6.77, allocations: 49.72 kB / 2.829 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001767/6.772, allocations: 1.057 MB / 2.83 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/6.774, allocations: 0.7667 MB / 2.831 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/6.774, allocations: 1.219 kB / 2.831 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/6.774, allocations: 1.062 kB / 2.831 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/6.774, allocations: 22.28 kB / 2.831 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004355/6.778, allocations: 2.422 MB / 2.833 GB, free: 197.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/6.78, allocations: 0.7477 MB / 2.834 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/6.78, allocations: 273 kB / 2.834 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006072/6.781, allocations: 470.1 kB / 2.835 GB, free: 197.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007038/6.782, allocations: 437.3 kB / 2.835 GB, free: 197.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=74): time 3.587e-06/6.782, allocations: 1.125 kB / 2.835 GB, free: 197.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74): time 0.004881/6.787, allocations: 1.052 MB / 2.836 GB, free: 197 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/6.787, allocations: 165.1 kB / 2.836 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006351/6.787, allocations: 439 kB / 2.837 GB, free: 196.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/6.787, allocations: 31.55 kB / 2.837 GB, free: 196.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/6.788, allocations: 369.7 kB / 2.837 GB, free: 196.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/6.788, allocations: 230.4 kB / 2.837 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/6.788, allocations: 0 / 2.837 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000116/6.788, allocations: 369 kB / 2.838 GB, free: 196 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/6.788, allocations: 205.4 kB / 2.838 GB, free: 196 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/6.789, allocations: 287.3 kB / 2.838 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003428/6.792, allocations: 0.6171 MB / 2.839 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/6.792, allocations: 0 / 2.839 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.004565/6.797, allocations: 1.05 MB / 2.84 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/6.797, allocations: 5.25 kB / 2.84 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/6.797, allocations: 3.938 kB / 2.84 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/6.797, allocations: 83.95 kB / 2.84 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000855/6.798, allocations: 165.5 kB / 2.84 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/6.8, allocations: 1.461 MB / 2.842 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/6.801, allocations: 76.98 kB / 2.842 GB, free: 194.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/6.801, allocations: 33.12 kB / 2.842 GB, free: 194.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0001765/6.801, allocations: 117.2 kB / 2.842 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004275/6.805, allocations: 1.057 MB / 2.843 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/6.805, allocations: 66.61 kB / 2.843 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00483/6.81, allocations: 1.301 MB / 2.844 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/6.81, allocations: 7.906 kB / 2.844 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/6.81, allocations: 0 / 2.844 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/6.81, allocations: 7.172 kB / 2.844 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/6.811, allocations: 0.7438 MB / 2.845 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/6.811, allocations: 3.938 kB / 2.845 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007891/6.812, allocations: 173.5 kB / 2.845 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/6.812, allocations: 84.81 kB / 2.845 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.998e-05/6.812, allocations: 8.734 kB / 2.845 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/6.814, allocations: 1.483 MB / 2.847 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/6.814, allocations: 0 / 2.847 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00432/6.818, allocations: 1.141 MB / 2.848 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/6.819, allocations: 278.7 kB / 2.848 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.655e-05/6.819, allocations: 3.953 kB / 2.848 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/6.819, allocations: 67.16 kB / 2.848 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-05/6.819, allocations: 57.42 kB / 2.848 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/6.819, allocations: 35.16 kB / 2.848 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003879/6.82, allocations: 358 kB / 2.848 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/6.82, allocations: 0 / 2.848 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001069/6.821, allocations: 329.8 kB / 2.849 GB, free: 192.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.006192/6.827, allocations: 2.637 MB / 2.851 GB, free: 191.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001162/6.828, allocations: 0.6879 MB / 2.852 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/6.828, allocations: 0 / 2.852 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006177/6.829, allocations: 462.8 kB / 2.852 GB, free: 190.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/6.83, allocations: 176 kB / 2.853 GB, free: 190.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/6.833, allocations: 1.457 MB / 2.854 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/6.834, allocations: 1.014 MB / 2.855 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009819/6.835, allocations: 252.3 kB / 2.855 GB, free: 189.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/6.835, allocations: 334.6 kB / 2.856 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of SimCode: time 9.61e-07/6.835, allocations: 0 / 2.856 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/6.881, allocations: 21.6 MB / 2.877 GB, free: 182.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/6.881, allocations: 207.4 kB / 2.877 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/9.811, allocations: 3.938 kB / 2.877 GB, free: 181.9 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)