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.000829/0.000829, allocations: 93.27 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008865/0.0008865, allocations: 175.9 kB / 16.91 MB, free: 6.684 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: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6139/0.6139, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002716, allocations: 8 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 77.53 MB / 0.56 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004583/0.1206, allocations: 4.361 MB / 0.5643 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3433/0.464, allocations: 146.7 MB / 0.7075 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/0.4646, allocations: 15.94 kB / 0.7075 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.4651, allocations: 150.8 kB / 0.7077 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.4664, allocations: 471.1 kB / 0.7081 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.4679, allocations: 0.7168 MB / 0.7088 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.4692, allocations: 1.269 MB / 0.7101 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007275/0.4699, allocations: 0.5502 MB / 0.7106 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.4704, allocations: 342.4 kB / 0.7109 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.4709, allocations: 389.9 kB / 0.7113 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.187e-05/0.4709, allocations: 24 kB / 0.7113 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006274/0.4716, allocations: 363.7 kB / 0.7117 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.4718, allocations: 191 kB / 0.7119 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.4721, allocations: 462.9 kB / 0.7123 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.4734, allocations: 1.472 MB / 0.7137 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4734, allocations: 0 / 0.7137 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4735, allocations: 7.984 kB / 0.7137 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.4735, allocations: 0 / 0.7137 GB, free: 9.078 MB / 0.5294 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.002021/0.4755, allocations: 1.217 MB / 0.7149 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.4755, allocations: 8.031 kB / 0.7149 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.4757, allocations: 131.3 kB / 0.7151 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008549/0.4766, allocations: 195.4 kB / 0.7153 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/0.4775, allocations: 0.7344 MB / 0.716 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.4776, allocations: 58 kB / 0.716 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.4777, allocations: 84 kB / 0.7161 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.4791, allocations: 0.9028 MB / 0.717 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4791, allocations: 0 / 0.717 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/0.4792, allocations: 40 kB / 0.717 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.4792, allocations: 20.88 kB / 0.717 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.4808, allocations: 1.108 MB / 0.7181 GB, free: 4.453 MB / 0.5294 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.003519/0.4843, allocations: 2.714 MB / 0.7208 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.4857, allocations: 0.8794 MB / 0.7216 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004967/0.4862, allocations: 302.7 kB / 0.7219 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-05/0.4863, allocations: 24.62 kB / 0.722 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007771/0.4871, allocations: 0.499 MB / 0.7224 GB, free: 15.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 1.794e-06/0.4871, allocations: 0 / 0.7224 GB, free: 15.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=79): time 0.002856/0.4899, allocations: 1.194 MB / 0.7236 GB, free: 14.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.49, allocations: 196.6 kB / 0.7238 GB, free: 14.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/0.4907, allocations: 0.6137 MB / 0.7244 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.4908, allocations: 41.7 kB / 0.7244 GB, free: 13.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.491, allocations: 392.3 kB / 0.7248 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.4912, allocations: 256.3 kB / 0.725 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/0.4913, allocations: 61.69 kB / 0.7251 GB, free: 13.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4914, allocations: 390.7 kB / 0.7255 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.4919, allocations: 249.9 kB / 0.7257 GB, free: 12.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.4925, allocations: 358.6 kB / 0.7261 GB, free: 12.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009609/0.4934, allocations: 0.5799 MB / 0.7266 GB, free: 11.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4935, allocations: 0 / 0.7266 GB, free: 11.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001646/0.4951, allocations: 0.798 MB / 0.7274 GB, free: 10.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4951, allocations: 5.719 kB / 0.7274 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4951, allocations: 4 kB / 0.7274 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/0.4957, allocations: 84.86 kB / 0.7275 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.4963, allocations: 147.8 kB / 0.7276 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.4981, allocations: 1.536 MB / 0.7291 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005966/0.4987, allocations: 96.06 kB / 0.7292 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.4987, allocations: 27.98 kB / 0.7293 GB, free: 8.59 MB / 0.545 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.000319/0.499, allocations: 266.3 kB / 0.7295 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.4992, allocations: 82.91 kB / 0.7296 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.5013, allocations: 1.062 MB / 0.7306 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.5013, allocations: 12 kB / 0.7306 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.5013, allocations: 0 / 0.7306 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.5014, allocations: 7.969 kB / 0.7306 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/0.5041, allocations: 1.919 MB / 0.7325 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5042, allocations: 0 / 0.7325 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.5047, allocations: 147.8 kB / 0.7327 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004853/0.5052, allocations: 84.7 kB / 0.7327 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/0.5052, allocations: 27.98 kB / 0.7328 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.5068, allocations: 1.54 MB / 0.7343 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5068, allocations: 0 / 0.7343 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.5086, allocations: 0.996 MB / 0.7352 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.5089, allocations: 287.7 kB / 0.7355 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.509, allocations: 16 kB / 0.7355 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.5097, allocations: 90.58 kB / 0.7356 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.5098, allocations: 72.89 kB / 0.7357 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/0.5099, allocations: 39.98 kB / 0.7357 GB, free: 1.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004812/0.5104, allocations: 462.9 kB / 0.7362 GB, free: 1.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5104, allocations: 0 / 0.7362 GB, free: 1.258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006816/0.5111, allocations: 307.3 kB / 0.7365 GB, free: 0.957 MB / 0.545 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.003068/0.5142, allocations: 2.038 MB / 0.7385 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.5155, allocations: 0.7888 MB / 0.7392 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5156, allocations: 4.188 kB / 0.7392 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008333/0.5164, allocations: 0.5197 MB / 0.7397 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.5176, allocations: 268.4 kB / 0.74 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00998/0.5275, allocations: 6.766 MB / 0.7466 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.5281, allocations: 1.009 MB / 0.7476 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007249/0.5288, allocations: 266.5 kB / 0.7478 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/0.5293, allocations: 379.3 kB / 0.7482 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.5293, allocations: 0 / 0.7482 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8772/1.406, allocations: 20.01 MB / 0.7677 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/1.407, allocations: 309.4 kB / 0.768 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/3.612, allocations: 64 / 0.768 GB, free: 0.9883 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)