Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_9_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.004791/0.004791, allocations: 106.8 kB / 15.74 MB, free: 6.039 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.001024/0.001024, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.3 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.19 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2148, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005162/0.22, allocations: 4.283 MB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1368/0.3568, allocations: 150.5 MB / 1.239 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005934/0.3574, allocations: 19.88 kB / 1.239 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004723/0.3579, allocations: 162.4 kB / 1.239 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.3593, allocations: 0.5111 MB / 1.239 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.3609, allocations: 0.8171 MB / 1.24 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.362, allocations: 1.285 MB / 1.241 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007436/0.3627, allocations: 0.6023 MB / 1.242 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.3632, allocations: 474.3 kB / 1.242 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.3637, allocations: 485.9 kB / 1.243 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.3638, allocations: 112 kB / 1.243 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006849/0.3645, allocations: 479.6 kB / 1.243 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.3648, allocations: 295 kB / 1.244 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.3652, allocations: 0.5324 MB / 1.244 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.3666, allocations: 1.582 MB / 1.246 GB, free: 15.23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3666, allocations: 0 / 1.246 GB, free: 15.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3666, allocations: 0 / 1.246 GB, free: 15.23 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.3666, allocations: 0 / 1.246 GB, free: 15.23 MB / 1.014 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.002175/0.3688, allocations: 1.41 MB / 1.247 GB, free: 13.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3688, allocations: 12.03 kB / 1.247 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.369, allocations: 131.3 kB / 1.247 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/0.3699, allocations: 187.5 kB / 1.247 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.3709, allocations: 0.7575 MB / 1.248 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.371, allocations: 62 kB / 1.248 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3711, allocations: 80 kB / 1.248 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.3725, allocations: 0.8989 MB / 1.249 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.3725, allocations: 4 kB / 1.249 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.3726, allocations: 32 kB / 1.249 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.3726, allocations: 20 kB / 1.249 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.3743, allocations: 1.097 MB / 1.25 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/0.3776, allocations: 2.429 MB / 1.253 GB, free: 7.902 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.3791, allocations: 0.8689 MB / 1.254 GB, free: 7.012 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/0.3796, allocations: 302.7 kB / 1.254 GB, free: 6.715 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.068e-05/0.3797, allocations: 36.48 kB / 1.254 GB, free: 6.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000768/0.3805, allocations: 499 kB / 1.254 GB, free: 6.172 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.054e-06/0.3805, allocations: 0 / 1.254 GB, free: 6.172 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.002949/0.3834, allocations: 1.163 MB / 1.256 GB, free: 4.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.3835, allocations: 192.5 kB / 1.256 GB, free: 4.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/0.3842, allocations: 0.6292 MB / 1.256 GB, free: 4.113 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.3843, allocations: 41.7 kB / 1.256 GB, free: 4.066 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.3845, allocations: 392.3 kB / 1.257 GB, free: 3.676 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.3847, allocations: 248.5 kB / 1.257 GB, free: 3.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.3849, allocations: 142.5 kB / 1.257 GB, free: 3.285 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3851, allocations: 382.7 kB / 1.257 GB, free: 2.902 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.3855, allocations: 241.9 kB / 1.258 GB, free: 2.668 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.3861, allocations: 358.6 kB / 1.258 GB, free: 2.285 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3871, allocations: 0.5682 MB / 1.259 GB, free: 1.707 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3872, allocations: 4 kB / 1.259 GB, free: 1.703 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001755/0.3889, allocations: 0.7902 MB / 1.259 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3889, allocations: 4 kB / 1.259 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.389, allocations: 0 / 1.259 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/0.3895, allocations: 80.86 kB / 1.259 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.3901, allocations: 151.8 kB / 1.26 GB, free: 0.668 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.423/0.8131, allocations: 1.624 MB / 1.261 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007981/0.814, allocations: 83.06 kB / 1.261 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.8141, allocations: 32.67 kB / 1.261 GB, free: 172.4 MB / 1.014 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.0004223/0.8145, allocations: 276.8 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.8147, allocations: 83.69 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.817, allocations: 1.042 MB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.817, allocations: 8.531 kB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.8171, allocations: 1.484 kB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.8171, allocations: 5.125 kB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/0.8202, allocations: 1.909 MB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8202, allocations: 1 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.8208, allocations: 149.6 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/0.8213, allocations: 73.12 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/0.8213, allocations: 25.25 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.8229, allocations: 1.654 MB / 1.266 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8229, allocations: 4.719 kB / 1.266 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.8248, allocations: 0.9819 MB / 1.267 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.8252, allocations: 280.1 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.8253, allocations: 18.11 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006298/0.8259, allocations: 64.52 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.8261, allocations: 66.89 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-05/0.8261, allocations: 36.73 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005483/0.8267, allocations: 453.2 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8267, allocations: 0 / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008012/0.8275, allocations: 300.9 kB / 1.269 GB, free: 169.3 MB / 1.014 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.003217/0.8307, allocations: 2.036 MB / 1.27 GB, free: 168.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.8323, allocations: 0.7903 MB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8323, allocations: 2.859 kB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008974/0.8332, allocations: 0.5059 MB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.8344, allocations: 289.3 kB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.8448, allocations: 6.231 MB / 1.278 GB, free: 164.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.8453, allocations: 1.018 MB / 1.279 GB, free: 163.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000746/0.846, allocations: 265.6 kB / 1.279 GB, free: 163.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/0.8465, allocations: 371.8 kB / 1.28 GB, free: 163.4 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.8465, allocations: 4 kB / 1.28 GB, free: 163.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/0.8897, allocations: 20.91 MB / 1.3 GB, free: 156.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.28, allocations: 6.938 kB / 1.3 GB, free: 156.9 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)