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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004645/0.004645, allocations: 101.7 kB / 15.88 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 196.1 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 222.9 MB / 240.5 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6516/0.6516, allocations: 115.3 MB / 405.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 493 MB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2697, allocations: 76.17 MB / 0.5558 GB, free: 36.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004488/0.2742, allocations: 4.776 MB / 0.5605 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.126/0.4002, allocations: 148.3 MB / 0.7053 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008664/0.4011, allocations: 19.88 kB / 0.7053 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.4018, allocations: 146.8 kB / 0.7055 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.4035, allocations: 460.8 kB / 0.7059 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.4053, allocations: 0.7247 MB / 0.7066 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.4066, allocations: 1.269 MB / 0.7078 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007058/0.4073, allocations: 0.5516 MB / 0.7084 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.4078, allocations: 414.4 kB / 0.7088 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.4082, allocations: 473.8 kB / 0.7092 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.4083, allocations: 52 kB / 0.7093 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006844/0.409, allocations: 399.6 kB / 0.7097 GB, free: 6.617 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.4092, allocations: 231.1 kB / 0.7099 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.4096, allocations: 0.4933 MB / 0.7104 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.4108, allocations: 1.515 MB / 0.7118 GB, free: 4.375 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4108, allocations: 0 / 0.7118 GB, free: 4.375 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4108, allocations: 0 / 0.7118 GB, free: 4.375 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.4109, allocations: 7.938 kB / 0.7118 GB, free: 4.367 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00215/0.413, allocations: 1.414 MB / 0.7132 GB, free: 2.906 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.4131, allocations: 15.97 kB / 0.7132 GB, free: 2.891 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.4132, allocations: 135.3 kB / 0.7134 GB, free: 2.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008313/0.414, allocations: 179.5 kB / 0.7135 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/0.4149, allocations: 0.7381 MB / 0.7143 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.415, allocations: 58 kB / 0.7143 GB, free: 1.734 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.085e-05/0.415, allocations: 83.94 kB / 0.7144 GB, free: 1.652 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.4164, allocations: 0.9028 MB / 0.7153 GB, free: 0.707 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4164, allocations: 0 / 0.7153 GB, free: 0.707 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.399e-05/0.4165, allocations: 36 kB / 0.7153 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.4165, allocations: 20 kB / 0.7153 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.4181, allocations: 1.101 MB / 0.7164 GB, free: 15.55 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.4214, allocations: 2.681 MB / 0.719 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.4227, allocations: 0.8678 MB / 0.7199 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.4232, allocations: 302.7 kB / 0.7202 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.4233, allocations: 36.55 kB / 0.7202 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007904/0.4241, allocations: 487.1 kB / 0.7207 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 1.924e-06/0.4241, allocations: 0 / 0.7207 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.002837/0.427, allocations: 1.186 MB / 0.7218 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/0.4271, allocations: 192.6 kB / 0.722 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006373/0.4277, allocations: 0.6215 MB / 0.7226 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.4278, allocations: 41.7 kB / 0.7227 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.428, allocations: 384.4 kB / 0.723 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.4282, allocations: 260.3 kB / 0.7233 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.4284, allocations: 142.5 kB / 0.7234 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4285, allocations: 390.7 kB / 0.7238 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.429, allocations: 245.9 kB / 0.724 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.4295, allocations: 350.6 kB / 0.7243 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009445/0.4305, allocations: 0.5721 MB / 0.7249 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4305, allocations: 4 kB / 0.7249 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001651/0.4322, allocations: 0.7902 MB / 0.7257 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4322, allocations: 4 kB / 0.7257 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4322, allocations: 4 kB / 0.7257 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005635/0.4328, allocations: 80.86 kB / 0.7258 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.4333, allocations: 151.7 kB / 0.7259 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.4351, allocations: 1.536 MB / 0.7274 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.4357, allocations: 83.3 kB / 0.7275 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.4358, allocations: 40.03 kB / 0.7275 GB, free: 3.695 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003181/0.4361, allocations: 261.6 kB / 0.7278 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.4362, allocations: 83 kB / 0.7279 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.4384, allocations: 1.054 MB / 0.7289 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.4384, allocations: 8 kB / 0.7289 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4384, allocations: 0 / 0.7289 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.4384, allocations: 3.984 kB / 0.7289 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.4412, allocations: 1.911 MB / 0.7308 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4412, allocations: 0 / 0.7308 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005099/0.4417, allocations: 147.8 kB / 0.7309 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004753/0.4422, allocations: 76.77 kB / 0.731 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.4423, allocations: 27.98 kB / 0.731 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.4439, allocations: 1.544 MB / 0.7325 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4439, allocations: 0 / 0.7325 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.4457, allocations: 0.9804 MB / 0.7335 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.446, allocations: 271.8 kB / 0.7337 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.4461, allocations: 27.91 kB / 0.7338 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006212/0.4467, allocations: 59.92 kB / 0.7338 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.4469, allocations: 72.84 kB / 0.7339 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.451e-05/0.4469, allocations: 40.03 kB / 0.7339 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004654/0.4474, allocations: 455 kB / 0.7344 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4474, allocations: 4 kB / 0.7344 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007096/0.4481, allocations: 311.3 kB / 0.7347 GB, free: 12.13 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003029/0.4512, allocations: 2.029 MB / 0.7366 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.4525, allocations: 0.7883 MB / 0.7374 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.4525, allocations: 0 / 0.7374 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008067/0.4534, allocations: 0.5121 MB / 0.7379 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.4544, allocations: 260.9 kB / 0.7382 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009597/0.464, allocations: 6.743 MB / 0.7447 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.4645, allocations: 1.019 MB / 0.7457 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007195/0.4652, allocations: 261.2 kB / 0.746 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.4657, allocations: 375.3 kB / 0.7463 GB, free: 212 kB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.4657, allocations: 4 kB / 0.7463 GB, free: 208 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9317/1.397, allocations: 20.3 MB / 0.7662 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/1.398, allocations: 305.8 kB / 0.7665 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/3.616, allocations: 0 / 0.7665 GB, free: 168.4 MB / 0.5762 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/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)