Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 289.9 MB / 297.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 184.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008331/0.0008331, allocations: 93.95 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.153e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7877/0.7878, allocations: 116.3 MB / 0.9733 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.392/6.18, allocations: 2.072 GB / 3.045 GB, free: 57.44 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004213/6.18, allocations: 88.48 kB / 3.045 GB, free: 57.35 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1222/6.302, allocations: 56.48 MB / 3.1 GB, free: 0.8164 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.833e-06/6.302, allocations: 0 / 3.1 GB, free: 0.8164 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.126e-05/6.302, allocations: 20 kB / 3.1 GB, free: 0.7969 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.6104/6.913, allocations: 1.019 MB / 3.101 GB, free: 317.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.461e-05/6.913, allocations: 9.5 kB / 3.101 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/6.915, allocations: 181.9 kB / 3.102 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/6.916, allocations: 0.5902 MB / 3.102 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/6.916, allocations: 32.97 kB / 3.102 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/6.916, allocations: 44.66 kB / 3.102 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002058/6.918, allocations: 0.9529 MB / 3.103 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/6.92, allocations: 0.692 MB / 3.104 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/6.92, allocations: 1.156 kB / 3.104 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.481e-05/6.92, allocations: 2.094 kB / 3.104 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/6.92, allocations: 18.84 kB / 3.104 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00474/6.925, allocations: 2.192 MB / 3.106 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/6.926, allocations: 0.7035 MB / 3.107 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/6.927, allocations: 239.5 kB / 3.107 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/6.927, allocations: 25.02 kB / 3.107 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000713/6.927, allocations: 376.8 kB / 3.107 GB, free: 316 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.495e-06/6.927, allocations: 0 / 3.107 GB, free: 316 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.00192/6.929, allocations: 0.6207 MB / 3.108 GB, free: 315.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/6.93, allocations: 251.3 kB / 3.108 GB, free: 315.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/6.93, allocations: 493.4 kB / 3.109 GB, free: 315.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/6.93, allocations: 28.52 kB / 3.109 GB, free: 315.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/6.931, allocations: 366.5 kB / 3.109 GB, free: 315.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/6.931, allocations: 224 kB / 3.109 GB, free: 315.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/6.931, allocations: 0 / 3.109 GB, free: 315.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001149/6.931, allocations: 369.3 kB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/6.931, allocations: 181.8 kB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/6.932, allocations: 282 kB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/6.932, allocations: 226.9 kB / 3.11 GB, free: 314.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/6.932, allocations: 0.75 kB / 3.11 GB, free: 314.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001551/6.934, allocations: 0.6276 MB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/6.934, allocations: 5.094 kB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/6.934, allocations: 0.75 kB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/6.934, allocations: 80.2 kB / 3.111 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/6.935, allocations: 137.6 kB / 3.111 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/6.937, allocations: 1.452 MB / 3.112 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/6.938, allocations: 61.95 kB / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/6.938, allocations: 24.66 kB / 3.113 GB, free: 313.5 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.000201/6.938, allocations: 120.3 kB / 3.113 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001533/6.94, allocations: 0.6205 MB / 3.113 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/6.94, allocations: 72.81 kB / 3.113 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/6.942, allocations: 0.8651 MB / 3.114 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/6.942, allocations: 10.81 kB / 3.114 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/6.942, allocations: 0.5 kB / 3.114 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/6.942, allocations: 5.766 kB / 3.114 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/6.945, allocations: 1.649 MB / 3.116 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/6.945, allocations: 0 / 3.116 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/6.946, allocations: 140 kB / 3.116 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005151/6.946, allocations: 81.7 kB / 3.116 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/6.946, allocations: 13.91 kB / 3.116 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/6.948, allocations: 1.488 MB / 3.117 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/6.948, allocations: 1.344 kB / 3.117 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/6.95, allocations: 0.7894 MB / 3.118 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/6.951, allocations: 274.9 kB / 3.119 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/6.951, allocations: 2.688 kB / 3.119 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005466/6.951, allocations: 57.09 kB / 3.119 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/6.951, allocations: 60.97 kB / 3.119 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/6.952, allocations: 29.73 kB / 3.119 GB, free: 311.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005598/6.952, allocations: 393 kB / 3.119 GB, free: 311.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/6.952, allocations: 0 / 3.119 GB, free: 311.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0012/6.953, allocations: 303.5 kB / 3.119 GB, free: 311.2 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.003843/6.957, allocations: 2.27 MB / 3.122 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001337/6.959, allocations: 0.6262 MB / 3.122 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/6.959, allocations: 0 / 3.122 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000738/6.959, allocations: 432.9 kB / 3.123 GB, free: 310.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/6.961, allocations: 217.6 kB / 3.123 GB, free: 310.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/6.965, allocations: 1.418 MB / 3.124 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/6.965, allocations: 1.002 MB / 3.125 GB, free: 309.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001046/6.966, allocations: 251.8 kB / 3.125 GB, free: 309.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/6.967, allocations: 331.1 kB / 3.126 GB, free: 309.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.242e-06/6.967, allocations: 0 / 3.126 GB, free: 309.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0723/7.039, allocations: 22.24 MB / 3.147 GB, free: 307.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/7.04, allocations: 215.7 kB / 3.148 GB, free: 307.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/9.721, allocations: 0 / 3.148 GB, free: 307.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)