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.001222/0.001222, allocations: 103.5 kB / 15.98 MB, free: 6.348 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.001265/0.001265, allocations: 199 kB / 16.91 MB, free: 6.191 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.187/1.187, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6407/0.6407, allocations: 115.3 MB / 406.1 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 72.03 kB / 493.2 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2773, allocations: 76.17 MB / 0.556 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004716/0.2821, allocations: 4.771 MB / 0.5607 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1377/0.4198, allocations: 148.4 MB / 0.7056 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000855/0.4207, allocations: 15.94 kB / 0.7056 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000664/0.4213, allocations: 146.8 kB / 0.7057 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.4232, allocations: 486 kB / 0.7062 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.4251, allocations: 0.7433 MB / 0.7069 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001545/0.4267, allocations: 1.351 MB / 0.7082 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008535/0.4276, allocations: 0.5831 MB / 0.7088 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006709/0.4282, allocations: 474.3 kB / 0.7093 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006276/0.4289, allocations: 0.5042 MB / 0.7098 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.4291, allocations: 112 kB / 0.7099 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008607/0.4299, allocations: 455.7 kB / 0.7103 GB, free: 6.121 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.4302, allocations: 291 kB / 0.7106 GB, free: 5.836 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005443/0.4308, allocations: 0.5597 MB / 0.7111 GB, free: 5.273 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.4325, allocations: 1.569 MB / 0.7127 GB, free: 3.699 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4325, allocations: 4 kB / 0.7127 GB, free: 3.695 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4325, allocations: 3.938 kB / 0.7127 GB, free: 3.691 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.332e-05/0.4326, allocations: 0 / 0.7127 GB, free: 3.691 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.002672/0.4353, allocations: 1.41 MB / 0.714 GB, free: 2.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.4353, allocations: 8.031 kB / 0.714 GB, free: 2.223 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.4355, allocations: 135.3 kB / 0.7142 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/0.4364, allocations: 183.5 kB / 0.7143 GB, free: 1.902 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009808/0.4374, allocations: 0.738 MB / 0.7151 GB, free: 1.121 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/0.4374, allocations: 62 kB / 0.7151 GB, free: 1.059 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.4375, allocations: 79.98 kB / 0.7152 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.439, allocations: 0.9028 MB / 0.7161 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4391, allocations: 4 kB / 0.7161 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.4391, allocations: 36 kB / 0.7161 GB, free: 0 / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.4392, allocations: 20.05 kB / 0.7161 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.4409, allocations: 1.1 MB / 0.7172 GB, free: 14.88 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.003896/0.4448, allocations: 2.677 MB / 0.7198 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.4462, allocations: 0.86 MB / 0.7207 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.4468, allocations: 298.7 kB / 0.721 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.398e-05/0.4469, allocations: 36.53 kB / 0.721 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008567/0.4477, allocations: 495.1 kB / 0.7215 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.234e-06/0.4478, allocations: 0 / 0.7215 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.00304/0.4508, allocations: 1.178 MB / 0.7226 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/0.4509, allocations: 192.6 kB / 0.7228 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007463/0.4517, allocations: 0.6176 MB / 0.7234 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/0.4517, allocations: 45.7 kB / 0.7234 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.452, allocations: 384.4 kB / 0.7238 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.4522, allocations: 256.3 kB / 0.7241 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.4524, allocations: 146.5 kB / 0.7242 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4526, allocations: 390.7 kB / 0.7246 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.4531, allocations: 241.9 kB / 0.7248 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005651/0.4536, allocations: 358.6 kB / 0.7251 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009757/0.4546, allocations: 0.5721 MB / 0.7257 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4546, allocations: 0 / 0.7257 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001803/0.4564, allocations: 0.7902 MB / 0.7265 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.4565, allocations: 13.81 kB / 0.7265 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4565, allocations: 0 / 0.7265 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/0.4571, allocations: 84.72 kB / 0.7266 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/0.4577, allocations: 151.8 kB / 0.7267 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.4598, allocations: 1.638 MB / 0.7283 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000639/0.4605, allocations: 79.39 kB / 0.7284 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/0.4606, allocations: 31.97 kB / 0.7284 GB, free: 2.934 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.0003709/0.4609, allocations: 269.6 kB / 0.7287 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.4611, allocations: 79.06 kB / 0.7287 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.4634, allocations: 1.058 MB / 0.7298 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.4635, allocations: 11.94 kB / 0.7298 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.4635, allocations: 0 / 0.7298 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4635, allocations: 7.922 kB / 0.7298 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.4667, allocations: 1.912 MB / 0.7317 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4667, allocations: 0 / 0.7317 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.4673, allocations: 143.8 kB / 0.7318 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.4677, allocations: 72.78 kB / 0.7319 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/0.4678, allocations: 27.98 kB / 0.7319 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.4696, allocations: 1.65 MB / 0.7335 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4696, allocations: 144 / 0.7335 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.4716, allocations: 0.9921 MB / 0.7345 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/0.4719, allocations: 271.7 kB / 0.7347 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.472, allocations: 16 kB / 0.7348 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006502/0.4727, allocations: 63.92 kB / 0.7348 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.4728, allocations: 68.91 kB / 0.7349 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.4729, allocations: 39.97 kB / 0.7349 GB, free: 12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005157/0.4734, allocations: 459 kB / 0.7354 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4734, allocations: 0 / 0.7354 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007738/0.4742, allocations: 311.2 kB / 0.7357 GB, free: 11.25 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.003318/0.4776, allocations: 2.038 MB / 0.7376 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002099/0.4797, allocations: 0.9835 MB / 0.7386 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4797, allocations: 0 / 0.7386 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008921/0.4806, allocations: 0.516 MB / 0.7391 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.4817, allocations: 313.2 kB / 0.7394 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.4923, allocations: 6.715 MB / 0.746 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1855/0.6779, allocations: 1.016 MB / 0.747 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009335/0.6788, allocations: 258.5 kB / 0.7472 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/0.6793, allocations: 376.4 kB / 0.7476 GB, free: 173 MB / 0.5762 GB Notification: Performance of SimCode: time 1.051e-06/0.6793, allocations: 0.5625 kB / 0.7476 GB, free: 173 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2205/0.8998, allocations: 20.89 MB / 0.768 GB, free: 168 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.9001, allocations: 311.5 kB / 0.7683 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/3.192, allocations: 2.672 kB / 0.7683 GB, free: 167.6 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)