Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_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.001205/0.001205, allocations: 108 kB / 15.61 MB, free: 152 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.001213/0.001213, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.185/1.185, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.208/2.208, allocations: 437.1 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.4598, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005853/0.4657, allocations: 4.8 MB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1431/0.6088, allocations: 150.6 MB / 1.169 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006549/0.6094, allocations: 19.88 kB / 1.169 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.6101, allocations: 186.3 kB / 1.169 GB, free: 6.285 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.6117, allocations: 0.5383 MB / 1.17 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.6135, allocations: 0.8268 MB / 1.171 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.6148, allocations: 1.351 MB / 1.172 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007502/0.6156, allocations: 0.5753 MB / 1.173 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005807/0.6162, allocations: 478.4 kB / 1.173 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005685/0.6168, allocations: 0.494 MB / 1.174 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.617, allocations: 112 kB / 1.174 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007035/0.6177, allocations: 451.6 kB / 1.174 GB, free: 1.461 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.6179, allocations: 291.1 kB / 1.174 GB, free: 1.176 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004558/0.6184, allocations: 0.5519 MB / 1.175 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.6199, allocations: 1.573 MB / 1.176 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.6199, allocations: 0 / 1.176 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6199, allocations: 0 / 1.176 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.936e-05/0.6199, allocations: 4 kB / 1.176 GB, free: 15.04 MB / 0.9356 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.002438/0.6224, allocations: 1.416 MB / 1.178 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.6224, allocations: 8.031 kB / 1.178 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.6225, allocations: 131.3 kB / 1.178 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000894/0.6234, allocations: 191.4 kB / 1.178 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009633/0.6244, allocations: 0.7304 MB / 1.179 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.6245, allocations: 69.92 kB / 1.179 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/0.6246, allocations: 76 kB / 1.179 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.6259, allocations: 0.9028 MB / 1.18 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.626, allocations: 0 / 1.18 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/0.626, allocations: 32 kB / 1.18 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.6261, allocations: 20 kB / 1.18 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.6277, allocations: 1.097 MB / 1.181 GB, free: 10.23 MB / 0.9356 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.003551/0.6313, allocations: 2.681 MB / 1.184 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.6327, allocations: 0.8699 MB / 1.184 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004965/0.6332, allocations: 302.7 kB / 1.185 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-05/0.6333, allocations: 36.53 kB / 1.185 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000797/0.6341, allocations: 495 kB / 1.185 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 1.883e-06/0.6341, allocations: 0 / 1.185 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.002887/0.637, allocations: 1.174 MB / 1.186 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/0.6371, allocations: 192.6 kB / 1.187 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007037/0.6378, allocations: 0.6252 MB / 1.187 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.6379, allocations: 45.7 kB / 1.187 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.6381, allocations: 384.4 kB / 1.188 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.6383, allocations: 252.4 kB / 1.188 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.6385, allocations: 142.5 kB / 1.188 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.6387, allocations: 390.7 kB / 1.188 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.6392, allocations: 249.9 kB / 1.189 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.6397, allocations: 350.6 kB / 1.189 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009854/0.6407, allocations: 0.576 MB / 1.189 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6407, allocations: 0 / 1.189 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001679/0.6424, allocations: 0.7941 MB / 1.19 GB, free: 416 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.6424, allocations: 9.719 kB / 1.19 GB, free: 408 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6425, allocations: 0 / 1.19 GB, free: 408 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005523/0.643, allocations: 80.88 kB / 1.19 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.6436, allocations: 147.8 kB / 1.19 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.6456, allocations: 1.64 MB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/0.6461, allocations: 83.42 kB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.6462, allocations: 27.98 kB / 1.192 GB, free: 14.28 MB / 0.9512 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.0003112/0.6465, allocations: 273.5 kB / 1.192 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.6467, allocations: 78.97 kB / 1.192 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.6488, allocations: 1.05 MB / 1.194 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.6489, allocations: 16 kB / 1.194 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.6489, allocations: 3.938 kB / 1.194 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.6489, allocations: 7.922 kB / 1.194 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.6517, allocations: 1.922 MB / 1.195 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6518, allocations: 0 / 1.195 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.6523, allocations: 143.8 kB / 1.196 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004045/0.6527, allocations: 72.78 kB / 1.196 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.6528, allocations: 23.98 kB / 1.196 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.6545, allocations: 1.65 MB / 1.197 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6545, allocations: 0 / 1.197 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.6563, allocations: 0.9843 MB / 1.198 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.6566, allocations: 271.9 kB / 1.198 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.6568, allocations: 20 kB / 1.199 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/0.6574, allocations: 67.91 kB / 1.199 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.6575, allocations: 68.91 kB / 1.199 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.6576, allocations: 35.97 kB / 1.199 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004688/0.658, allocations: 451 kB / 1.199 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.6581, allocations: 0 / 1.199 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006829/0.6587, allocations: 315.2 kB / 1.199 GB, free: 6.59 MB / 0.9512 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.00311/0.6619, allocations: 2.034 MB / 1.201 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.6639, allocations: 0.9953 MB / 1.202 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6639, allocations: 0 / 1.202 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008259/0.6647, allocations: 0.508 MB / 1.203 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6659, allocations: 306.1 kB / 1.203 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009261/0.6751, allocations: 6.336 MB / 1.209 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.6758, allocations: 1.023 MB / 1.21 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007643/0.6765, allocations: 262.5 kB / 1.211 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/0.677, allocations: 379.3 kB / 1.211 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.677, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.042/1.72, allocations: 21.09 MB / 1.232 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/13.17, allocations: 18.2 kB / 1.232 GB, free: 6.047 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)