Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001011/0.001011, allocations: 181.5 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4925/0.4925, allocations: 90.92 MB / 99.35 MB, free: 2.211 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.49/1.49, allocations: 221.5 MB / 343.2 MB, free: 1.59 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.0009624/0.0009625, allocations: 92.55 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.563e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1579, allocations: 72.3 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.893/5.051, allocations: 1.683 GB / 2.237 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/5.052, allocations: 97.2 kB / 2.237 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1295/5.181, allocations: 58.4 MB / 2.294 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/5.181, allocations: 0 / 2.294 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001097/5.181, allocations: 27.06 kB / 2.294 GB, free: 162.9 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002653/5.184, allocations: 1.062 MB / 2.295 GB, free: 162 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/5.184, allocations: 11.5 kB / 2.295 GB, free: 162 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/5.185, allocations: 191.1 kB / 2.295 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/5.187, allocations: 0.6072 MB / 2.296 GB, free: 161.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/5.187, allocations: 31.23 kB / 2.296 GB, free: 161.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/5.187, allocations: 46.91 kB / 2.296 GB, free: 161.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001494/5.188, allocations: 0.9802 MB / 2.297 GB, free: 161 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/5.19, allocations: 0.7135 MB / 2.298 GB, free: 160.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/5.19, allocations: 4 kB / 2.298 GB, free: 160.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/5.19, allocations: 0 / 2.298 GB, free: 160.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/5.19, allocations: 22 kB / 2.298 GB, free: 160.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004008/5.194, allocations: 2.251 MB / 2.3 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/5.195, allocations: 0.7197 MB / 2.301 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/5.195, allocations: 236.2 kB / 2.301 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-05/5.195, allocations: 36.11 kB / 2.301 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006398/5.196, allocations: 385.3 kB / 2.301 GB, free: 158 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 3.667e-06/5.196, allocations: 4 kB / 2.301 GB, free: 158 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.001803/5.198, allocations: 0.6433 MB / 2.302 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/5.198, allocations: 242.1 kB / 2.302 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/5.199, allocations: 0.4906 MB / 2.303 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.33e-05/5.199, allocations: 25.7 kB / 2.303 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/5.199, allocations: 380.1 kB / 2.303 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/5.2, allocations: 228.5 kB / 2.303 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/5.2, allocations: 3.938 kB / 2.303 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001236/5.2, allocations: 374.8 kB / 2.304 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/5.2, allocations: 181.5 kB / 2.304 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/5.2, allocations: 295.5 kB / 2.304 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/5.201, allocations: 228.5 kB / 2.304 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/5.201, allocations: 0 / 2.304 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001319/5.202, allocations: 0.6369 MB / 2.305 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/5.202, allocations: 4 kB / 2.305 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/5.202, allocations: 4 kB / 2.305 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/5.203, allocations: 84.83 kB / 2.305 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/5.203, allocations: 131.8 kB / 2.305 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/5.205, allocations: 1.453 MB / 2.306 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/5.205, allocations: 59.59 kB / 2.306 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/5.205, allocations: 35.92 kB / 2.307 GB, free: 152.6 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 (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.0001587/5.206, allocations: 120.8 kB / 2.307 GB, free: 152.5 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001248/5.207, allocations: 0.6446 MB / 2.307 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/5.207, allocations: 71.16 kB / 2.307 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/5.209, allocations: 0.9183 MB / 2.308 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/5.209, allocations: 8 kB / 2.308 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/5.209, allocations: 0 / 2.308 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/5.209, allocations: 3.984 kB / 2.308 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/5.211, allocations: 1.683 MB / 2.31 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/5.211, allocations: 0 / 2.31 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/5.212, allocations: 147.8 kB / 2.31 GB, free: 149 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/5.212, allocations: 84.77 kB / 2.31 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/5.212, allocations: 15.98 kB / 2.31 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/5.214, allocations: 1.477 MB / 2.312 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/5.214, allocations: 4.031 kB / 2.312 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/5.215, allocations: 0.822 MB / 2.312 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/5.215, allocations: 275.8 kB / 2.313 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/5.215, allocations: 3.953 kB / 2.313 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/5.216, allocations: 55.94 kB / 2.313 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/5.216, allocations: 56.69 kB / 2.313 GB, free: 146 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/5.216, allocations: 31.98 kB / 2.313 GB, free: 146 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000379/5.216, allocations: 402.9 kB / 2.313 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/5.216, allocations: 0 / 2.313 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001017/5.217, allocations: 327 kB / 2.313 GB, free: 145.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 (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.002977/5.22, allocations: 2.355 MB / 2.316 GB, free: 143 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001053/5.221, allocations: 0.6399 MB / 2.316 GB, free: 142.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/5.221, allocations: 3.938 kB / 2.316 GB, free: 142.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005537/5.222, allocations: 452.5 kB / 2.317 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/5.223, allocations: 223.2 kB / 2.317 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/5.227, allocations: 1.463 MB / 2.318 GB, free: 140.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/5.227, allocations: 1.019 MB / 2.319 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007737/5.228, allocations: 253.6 kB / 2.32 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/5.228, allocations: 347.3 kB / 2.32 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of SimCode: time 6.72e-07/5.228, allocations: 0 / 2.32 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04558/5.274, allocations: 22.97 MB / 2.342 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/5.274, allocations: 212.4 kB / 2.343 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/8.004, allocations: 0 / 2.343 GB, free: 115.4 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)