Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.8423/0.8423, allocations: 143.4 MB / 158.3 MB, free: 5.777 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.001959/0.001959, allocations: 187.7 kB / 191.5 MB, free: 5.75 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.532/1.532, allocations: 223.2 MB / 447.7 MB, free: 6.551 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.0009931/0.0009933, allocations: 96.27 kB / 0.5187 GB, free: 2.914 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 281 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004442, allocations: 16 kB / 0.693 GB, free: 2.199 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3987, allocations: 82.77 MB / 0.7738 GB, free: 26.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.576/3.975, allocations: 1.691 GB / 2.465 GB, free: 64.09 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/3.975, allocations: 95.94 kB / 2.465 GB, free: 64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.123/4.098, allocations: 59.64 MB / 2.523 GB, free: 4.094 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.294e-06/4.098, allocations: 4 kB / 2.523 GB, free: 4.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.08e-05/4.098, allocations: 24 kB / 2.523 GB, free: 4.066 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001896/4.1, allocations: 1.171 MB / 2.524 GB, free: 2.844 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/4.1, allocations: 12.83 kB / 2.524 GB, free: 2.832 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/4.1, allocations: 131 kB / 2.524 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008205/4.101, allocations: 194.4 kB / 2.525 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008595/4.102, allocations: 0.6114 MB / 2.525 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/4.102, allocations: 58 kB / 2.525 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.109e-05/4.102, allocations: 80 kB / 2.525 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/4.103, allocations: 0.8637 MB / 2.526 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/4.103, allocations: 0 / 2.526 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/4.103, allocations: 40 kB / 2.526 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/4.103, allocations: 20 kB / 2.526 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.379/4.482, allocations: 1.074 MB / 2.527 GB, free: 231.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004782/4.487, allocations: 2.428 MB / 2.53 GB, free: 231.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/4.489, allocations: 0.8043 MB / 2.53 GB, free: 231 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.391e-05/4.489, allocations: 31.73 kB / 2.531 GB, free: 231 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008048/4.49, allocations: 433.2 kB / 2.531 GB, free: 231 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.344e-06/4.49, allocations: 0 / 2.531 GB, free: 231 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.00322/4.493, allocations: 1.101 MB / 2.532 GB, free: 230.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/4.493, allocations: 245.5 kB / 2.532 GB, free: 230.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009909/4.494, allocations: 0.5798 MB / 2.533 GB, free: 230.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.06e-05/4.494, allocations: 42.08 kB / 2.533 GB, free: 230.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/4.494, allocations: 371.6 kB / 2.533 GB, free: 230.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/4.495, allocations: 243.1 kB / 2.533 GB, free: 230.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/4.495, allocations: 12 kB / 2.533 GB, free: 230.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001249/4.495, allocations: 385.1 kB / 2.534 GB, free: 229.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/4.495, allocations: 216.6 kB / 2.534 GB, free: 229.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/4.496, allocations: 331.9 kB / 2.534 GB, free: 229.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/4.496, allocations: 268 kB / 2.535 GB, free: 229.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/4.496, allocations: 0 / 2.535 GB, free: 229.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001862/4.498, allocations: 0.7294 MB / 2.535 GB, free: 229.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/4.498, allocations: 10.23 kB / 2.535 GB, free: 229.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/4.498, allocations: 0 / 2.535 GB, free: 229.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/4.499, allocations: 88.28 kB / 2.535 GB, free: 229.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/4.5, allocations: 136.5 kB / 2.536 GB, free: 229.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/4.501, allocations: 1.535 MB / 2.537 GB, free: 228.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006399/4.502, allocations: 79.09 kB / 2.537 GB, free: 228.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/4.502, allocations: 30.75 kB / 2.537 GB, free: 228.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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.0004791/4.503, allocations: 254.5 kB / 2.537 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/4.503, allocations: 83.66 kB / 2.537 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/4.505, allocations: 1.013 MB / 2.538 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/4.505, allocations: 11.22 kB / 2.538 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/4.505, allocations: 0 / 2.538 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/4.505, allocations: 5.875 kB / 2.538 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/4.508, allocations: 1.912 MB / 2.54 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/4.509, allocations: 0 / 2.54 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/4.509, allocations: 150.9 kB / 2.54 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005378/4.51, allocations: 88.86 kB / 2.541 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/4.51, allocations: 25.31 kB / 2.541 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/4.511, allocations: 1.569 MB / 2.542 GB, free: 226.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/4.511, allocations: 3.953 kB / 2.542 GB, free: 226.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/4.513, allocations: 0.9232 MB / 2.543 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/4.514, allocations: 285.5 kB / 2.543 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/4.514, allocations: 17.84 kB / 2.543 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/4.515, allocations: 64.8 kB / 2.543 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/4.515, allocations: 62.44 kB / 2.543 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-05/4.515, allocations: 29.48 kB / 2.543 GB, free: 226 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007631/4.516, allocations: 483.2 kB / 2.544 GB, free: 225.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/4.516, allocations: 2.562 kB / 2.544 GB, free: 225.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001441/4.517, allocations: 350.3 kB / 2.544 GB, free: 225.9 MB / 0.698 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 (87): * Single equations (assignments): 84 * 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.003959/4.521, allocations: 2.443 MB / 2.547 GB, free: 225.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0014/4.522, allocations: 0.7325 MB / 2.547 GB, free: 225 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/4.522, allocations: 0 / 2.547 GB, free: 225 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007704/4.523, allocations: 0.4885 MB / 2.548 GB, free: 224.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/4.524, allocations: 241.2 kB / 2.548 GB, free: 224.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008019/4.532, allocations: 5.165 MB / 2.553 GB, free: 223 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/4.533, allocations: 1.023 MB / 2.554 GB, free: 222.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008378/4.534, allocations: 261 kB / 2.554 GB, free: 222.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/4.534, allocations: 352.3 kB / 2.555 GB, free: 222.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/4.534, allocations: 0 / 2.555 GB, free: 222.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04818/4.582, allocations: 29.23 MB / 2.583 GB, free: 218.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/4.582, allocations: 295.2 kB / 2.584 GB, free: 218 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.019/7.601, allocations: 4 kB / 2.584 GB, free: 218 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)