Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8212/0.8212, allocations: 143.3 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001726, allocations: 175.7 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.881/1.881, allocations: 223.2 MB / 447.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 100.3 kB / 0.5187 GB, free: 1.109 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 275.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004863, allocations: 14.5 kB / 0.6929 GB, free: 59.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1941, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.317/4.511, allocations: 1.691 GB / 2.465 GB, free: 62.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/4.511, allocations: 98.89 kB / 2.465 GB, free: 62.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1276/4.639, allocations: 59.52 MB / 2.523 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.018e-06/4.639, allocations: 3.984 kB / 2.523 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001309/4.639, allocations: 24 kB / 2.523 GB, free: 11.95 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.003508/4.642, allocations: 1.177 MB / 2.524 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/4.642, allocations: 8.828 kB / 2.524 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000429/4.643, allocations: 139.8 kB / 2.524 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/4.644, allocations: 186.5 kB / 2.525 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/4.646, allocations: 0.6123 MB / 2.525 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.576e-05/4.646, allocations: 64.5 kB / 2.525 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.674e-05/4.646, allocations: 73.25 kB / 2.525 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/4.647, allocations: 0.8608 MB / 2.526 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/4.647, allocations: 3.938 kB / 2.526 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/4.647, allocations: 37.12 kB / 2.526 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/4.647, allocations: 20 kB / 2.526 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/4.649, allocations: 1.072 MB / 2.527 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/4.652, allocations: 2.409 MB / 2.53 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/4.654, allocations: 0.7995 MB / 2.53 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/4.654, allocations: 30.78 kB / 2.53 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006566/4.654, allocations: 430.9 kB / 2.531 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 2.385e-06/4.654, allocations: 0 / 2.531 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72): time 0.002695/4.657, allocations: 1.099 MB / 2.532 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/4.657, allocations: 244 kB / 2.532 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006962/4.658, allocations: 0.5854 MB / 2.533 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/4.658, allocations: 37.7 kB / 2.533 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/4.658, allocations: 376.3 kB / 2.533 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/4.658, allocations: 236.5 kB / 2.533 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/4.658, allocations: 12 kB / 2.533 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001201/4.658, allocations: 374.8 kB / 2.534 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/4.659, allocations: 221.2 kB / 2.534 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/4.659, allocations: 327.6 kB / 2.534 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/4.66, allocations: 259.1 kB / 2.534 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/4.66, allocations: 0 / 2.534 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001494/4.661, allocations: 0.7237 MB / 2.535 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/4.661, allocations: 7.953 kB / 2.535 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/4.661, allocations: 0 / 2.535 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/4.662, allocations: 84.78 kB / 2.535 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/4.662, allocations: 135.8 kB / 2.535 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4888/5.151, allocations: 1.532 MB / 2.537 GB, free: 233.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009809/5.152, allocations: 81.69 kB / 2.537 GB, free: 233.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/5.152, allocations: 27.53 kB / 2.537 GB, free: 233.4 MB / 0.7136 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0006576/5.153, allocations: 248.4 kB / 2.537 GB, free: 233.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/5.153, allocations: 82.5 kB / 2.537 GB, free: 233.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/5.155, allocations: 1.019 MB / 2.538 GB, free: 233.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/5.155, allocations: 11.19 kB / 2.538 GB, free: 233.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/5.155, allocations: 0 / 2.538 GB, free: 233.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/5.155, allocations: 3.953 kB / 2.538 GB, free: 233.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/5.159, allocations: 1.901 MB / 2.54 GB, free: 232.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/5.159, allocations: 3.938 kB / 2.54 GB, free: 232.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/5.159, allocations: 144.2 kB / 2.54 GB, free: 232.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005169/5.16, allocations: 90.2 kB / 2.54 GB, free: 232.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/5.16, allocations: 25.83 kB / 2.54 GB, free: 232.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/5.161, allocations: 1.568 MB / 2.542 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/5.161, allocations: 0 / 2.542 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/5.163, allocations: 0.9163 MB / 2.543 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/5.163, allocations: 284.8 kB / 2.543 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/5.163, allocations: 20.5 kB / 2.543 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/5.164, allocations: 67.98 kB / 2.543 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/5.164, allocations: 58.38 kB / 2.543 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/5.164, allocations: 31.09 kB / 2.543 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007542/5.165, allocations: 483 kB / 2.544 GB, free: 231.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/5.165, allocations: 0 / 2.544 GB, free: 231.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001572/5.167, allocations: 350.9 kB / 2.544 GB, free: 231.1 MB / 0.7136 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.004468/5.171, allocations: 2.438 MB / 2.546 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001681/5.173, allocations: 0.7212 MB / 2.547 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/5.173, allocations: 0 / 2.547 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009081/5.174, allocations: 0.4904 MB / 2.548 GB, free: 230 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/5.175, allocations: 258.5 kB / 2.548 GB, free: 230 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/5.185, allocations: 4.999 MB / 2.553 GB, free: 228.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009063/5.186, allocations: 1.025 MB / 2.554 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001169/5.188, allocations: 254.4 kB / 2.554 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005908/5.188, allocations: 359.3 kB / 2.554 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.403e-06/5.188, allocations: 4.375 kB / 2.554 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06503/5.253, allocations: 29.18 MB / 2.583 GB, free: 225.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/5.253, allocations: 304.3 kB / 2.583 GB, free: 225.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.244/8.497, allocations: 0 / 2.583 GB, free: 225.5 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)