Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.001571, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5686/0.5686, allocations: 90.8 MB / 104.5 MB, free: 13.88 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 102.3 kB / 421.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.562e-05, allocations: 3.984 kB / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1896, allocations: 72.31 MB / 0.5603 GB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.892/5.081, allocations: 1.684 GB / 2.244 GB, free: 224.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/5.082, allocations: 91.75 kB / 2.244 GB, free: 224.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1281/5.21, allocations: 58.64 MB / 2.302 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.887e-06/5.21, allocations: 4 kB / 2.302 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001602/5.21, allocations: 20 kB / 2.302 GB, free: 173.7 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002956/5.213, allocations: 1.047 MB / 2.303 GB, free: 172.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/5.213, allocations: 15.98 kB / 2.303 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003008/5.213, allocations: 130.8 kB / 2.303 GB, free: 172.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/5.214, allocations: 178.6 kB / 2.303 GB, free: 172.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/5.216, allocations: 0.6036 MB / 2.303 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/5.216, allocations: 62 kB / 2.304 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/5.216, allocations: 72 kB / 2.304 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/5.217, allocations: 0.8092 MB / 2.304 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/5.217, allocations: 0 / 2.304 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.22e-05/5.217, allocations: 32 kB / 2.304 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/5.217, allocations: 20 kB / 2.304 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/5.219, allocations: 1.015 MB / 2.305 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003455/5.222, allocations: 2.352 MB / 2.308 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/5.223, allocations: 0.7558 MB / 2.308 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/5.223, allocations: 246.5 kB / 2.309 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.511e-05/5.223, allocations: 32.58 kB / 2.309 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005416/5.224, allocations: 409.6 kB / 2.309 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 2.515e-06/5.224, allocations: 0 / 2.309 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001462/5.226, allocations: 0.6552 MB / 2.31 GB, free: 165 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/5.226, allocations: 243.9 kB / 2.31 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006993/5.226, allocations: 0.5698 MB / 2.311 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/5.226, allocations: 41.7 kB / 2.311 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/5.227, allocations: 364.3 kB / 2.311 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/5.227, allocations: 228.7 kB / 2.311 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/5.227, allocations: 12 kB / 2.311 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/5.227, allocations: 378.9 kB / 2.312 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/5.227, allocations: 193.5 kB / 2.312 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/5.228, allocations: 305.1 kB / 2.312 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/5.228, allocations: 234 kB / 2.312 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/5.228, allocations: 4 kB / 2.312 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001312/5.229, allocations: 0.668 MB / 2.313 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/5.229, allocations: 4 kB / 2.313 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/5.229, allocations: 64 / 2.313 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/5.23, allocations: 88.77 kB / 2.313 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/5.23, allocations: 131.8 kB / 2.313 GB, free: 161.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/5.232, allocations: 1.512 MB / 2.315 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000589/5.233, allocations: 87.42 kB / 2.315 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/5.233, allocations: 23.98 kB / 2.315 GB, free: 159.7 MB / 0.6042 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.0001523/5.233, allocations: 147.5 kB / 2.315 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/5.233, allocations: 75.28 kB / 2.315 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/5.235, allocations: 0.9299 MB / 2.316 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/5.235, allocations: 8 kB / 2.316 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/5.235, allocations: 3.953 kB / 2.316 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/5.235, allocations: 3.984 kB / 2.316 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/5.238, allocations: 1.808 MB / 2.318 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/5.238, allocations: 0 / 2.318 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/5.239, allocations: 139.8 kB / 2.318 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006144/5.24, allocations: 84.78 kB / 2.318 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.118e-05/5.24, allocations: 19.98 kB / 2.318 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/5.242, allocations: 1.54 MB / 2.319 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/5.242, allocations: 0 / 2.319 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/5.244, allocations: 0.8531 MB / 2.32 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005215/5.244, allocations: 271.8 kB / 2.32 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/5.244, allocations: 19.98 kB / 2.32 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/5.245, allocations: 63.95 kB / 2.32 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/5.245, allocations: 56.66 kB / 2.321 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/5.245, allocations: 43.97 kB / 2.321 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007442/5.246, allocations: 471.2 kB / 2.321 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/5.246, allocations: 4 kB / 2.321 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001478/5.248, allocations: 351.2 kB / 2.321 GB, free: 152.6 MB / 0.6042 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.003827/5.251, allocations: 2.309 MB / 2.324 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001234/5.253, allocations: 0.6593 MB / 2.324 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/5.253, allocations: 4 kB / 2.324 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006559/5.253, allocations: 459.1 kB / 2.325 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/5.254, allocations: 228.7 kB / 2.325 GB, free: 149 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/5.259, allocations: 1.501 MB / 2.326 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/5.259, allocations: 1.011 MB / 2.327 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008813/5.26, allocations: 257.9 kB / 2.328 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/5.26, allocations: 343.3 kB / 2.328 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/5.26, allocations: 0 / 2.328 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06349/5.324, allocations: 30.49 MB / 2.358 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/5.324, allocations: 246.3 kB / 2.358 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/8.255, allocations: 0 / 2.358 GB, free: 115.2 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)