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.001081/0.001081, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5053/0.5053, allocations: 90.91 MB / 99.35 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009555/0.0009556, allocations: 91.2 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.125e-05, allocations: 0 / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1837, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.341/4.525, allocations: 1.683 GB / 2.237 GB, free: 9.422 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/4.525, allocations: 91.95 kB / 2.237 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.4503/4.975, allocations: 57.8 MB / 2.293 GB, free: 206.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/4.975, allocations: 0 / 2.293 GB, free: 206.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.356e-05/4.975, allocations: 23.94 kB / 2.293 GB, free: 206.4 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.001908/4.977, allocations: 1.051 MB / 2.294 GB, free: 205.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/4.977, allocations: 8.031 kB / 2.294 GB, free: 205.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009294/4.978, allocations: 178.7 kB / 2.295 GB, free: 205.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009506/4.979, allocations: 0.6034 MB / 2.295 GB, free: 204.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/4.979, allocations: 27.94 kB / 2.295 GB, free: 204.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.25e-05/4.979, allocations: 44 kB / 2.295 GB, free: 204.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00118/4.981, allocations: 0.9679 MB / 2.296 GB, free: 203.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/4.982, allocations: 0.696 MB / 2.297 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/4.982, allocations: 4 kB / 2.297 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.407e-05/4.982, allocations: 0 / 2.297 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/4.982, allocations: 20 kB / 2.297 GB, free: 202.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/4.985, allocations: 2.218 MB / 2.299 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008716/4.985, allocations: 0.6977 MB / 2.3 GB, free: 199.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/4.986, allocations: 230.5 kB / 2.3 GB, free: 199.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/4.986, allocations: 32.19 kB / 2.3 GB, free: 199.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004688/4.986, allocations: 377.7 kB / 2.3 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 3.216e-06/4.986, allocations: 0 / 2.3 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001348/4.988, allocations: 0.62 MB / 2.301 GB, free: 198.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/4.988, allocations: 247.8 kB / 2.301 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005735/4.988, allocations: 498.3 kB / 2.302 GB, free: 197.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/4.988, allocations: 25.7 kB / 2.302 GB, free: 197.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/4.989, allocations: 372.2 kB / 2.302 GB, free: 197.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/4.989, allocations: 224.6 kB / 2.302 GB, free: 197.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/4.989, allocations: 0 / 2.302 GB, free: 197.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/4.989, allocations: 374.7 kB / 2.303 GB, free: 196.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/4.989, allocations: 181.5 kB / 2.303 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/4.989, allocations: 279.5 kB / 2.303 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/4.99, allocations: 232.4 kB / 2.303 GB, free: 196 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/4.99, allocations: 0 / 2.303 GB, free: 196 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001209/4.991, allocations: 0.6174 MB / 2.304 GB, free: 195.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/4.991, allocations: 12.06 kB / 2.304 GB, free: 195.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/4.991, allocations: 0 / 2.304 GB, free: 195.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005572/4.992, allocations: 80.78 kB / 2.304 GB, free: 195.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/4.992, allocations: 135.8 kB / 2.304 GB, free: 195.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/4.994, allocations: 1.453 MB / 2.306 GB, free: 193.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/4.994, allocations: 63.56 kB / 2.306 GB, free: 193.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/4.994, allocations: 23.98 kB / 2.306 GB, free: 193.5 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.0001729/4.995, allocations: 122.2 kB / 2.306 GB, free: 193.4 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001233/4.996, allocations: 0.62 MB / 2.306 GB, free: 192.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/4.996, allocations: 71.16 kB / 2.306 GB, free: 192.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/4.998, allocations: 0.8712 MB / 2.307 GB, free: 191.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/4.998, allocations: 11.98 kB / 2.307 GB, free: 191.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/4.998, allocations: 0 / 2.307 GB, free: 191.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/4.998, allocations: 3.984 kB / 2.307 GB, free: 191.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/5, allocations: 1.644 MB / 2.309 GB, free: 190.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/5, allocations: 0 / 2.309 GB, free: 190.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/5.001, allocations: 143.8 kB / 2.309 GB, free: 189.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004939/5.001, allocations: 84.77 kB / 2.309 GB, free: 189.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/5.001, allocations: 15.98 kB / 2.309 GB, free: 189.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/5.003, allocations: 1.473 MB / 2.311 GB, free: 188.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/5.003, allocations: 0 / 2.311 GB, free: 188.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/5.004, allocations: 0.8025 MB / 2.311 GB, free: 187.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/5.004, allocations: 267.9 kB / 2.312 GB, free: 187.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/5.004, allocations: 0 / 2.312 GB, free: 187.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/5.005, allocations: 55.94 kB / 2.312 GB, free: 187.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/5.005, allocations: 60.66 kB / 2.312 GB, free: 187 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/5.005, allocations: 23.98 kB / 2.312 GB, free: 187 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004485/5.006, allocations: 402.9 kB / 2.312 GB, free: 186.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/5.006, allocations: 0 / 2.312 GB, free: 186.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0011/5.007, allocations: 322.9 kB / 2.312 GB, free: 186.3 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.003225/5.01, allocations: 2.32 MB / 2.315 GB, free: 184.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00102/5.011, allocations: 0.6204 MB / 2.315 GB, free: 183.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/5.011, allocations: 0 / 2.315 GB, free: 183.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005559/5.011, allocations: 444.5 kB / 2.316 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/5.013, allocations: 210.7 kB / 2.316 GB, free: 182.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/5.016, allocations: 1.447 MB / 2.317 GB, free: 181.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/5.016, allocations: 1.011 MB / 2.318 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007869/5.017, allocations: 241.7 kB / 2.319 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/5.018, allocations: 335.3 kB / 2.319 GB, free: 179.8 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/5.018, allocations: 0 / 2.319 GB, free: 179.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04949/5.067, allocations: 22.63 MB / 2.341 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/5.067, allocations: 208.1 kB / 2.341 GB, free: 157 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/7.652, allocations: 0 / 2.341 GB, free: 157 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)