Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_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.001006/0.001006, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001004/0.001004, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.166/1.166, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.336/2.336, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 68.98 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2168, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005283/0.2221, allocations: 4.796 MB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1245/0.3466, allocations: 148.3 MB / 1.202 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006597/0.3473, allocations: 19.88 kB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000556/0.3479, allocations: 154.8 kB / 1.202 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.3493, allocations: 460.9 kB / 1.202 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.3509, allocations: 0.7252 MB / 1.203 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.352, allocations: 1.273 MB / 1.204 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006789/0.3527, allocations: 0.5516 MB / 1.205 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.3532, allocations: 410.3 kB / 1.205 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.3536, allocations: 461.9 kB / 1.206 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.3537, allocations: 52 kB / 1.206 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.3543, allocations: 403.6 kB / 1.206 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.3545, allocations: 231 kB / 1.206 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.3549, allocations: 0.4972 MB / 1.207 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.356, allocations: 1.515 MB / 1.208 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.356, allocations: 4 kB / 1.208 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.42e-07/0.3561, allocations: 0 / 1.208 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.3561, allocations: 0 / 1.208 GB, free: 7.82 MB / 0.9669 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.002087/0.3582, allocations: 1.411 MB / 1.21 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.3582, allocations: 12.03 kB / 1.21 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.3583, allocations: 139.3 kB / 1.21 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008197/0.3592, allocations: 183.4 kB / 1.21 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008357/0.36, allocations: 0.7342 MB / 1.211 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.3601, allocations: 66 kB / 1.211 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.3602, allocations: 76 kB / 1.211 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.3615, allocations: 0.9067 MB / 1.212 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3615, allocations: 0 / 1.212 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.3616, allocations: 39.94 kB / 1.212 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.3616, allocations: 20 kB / 1.212 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.3631, allocations: 1.093 MB / 1.213 GB, free: 3.012 MB / 0.9669 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.003201/0.3663, allocations: 2.681 MB / 1.215 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.3677, allocations: 0.8687 MB / 1.216 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.3681, allocations: 298.7 kB / 1.217 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.872e-05/0.3682, allocations: 40.53 kB / 1.217 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007618/0.369, allocations: 491.1 kB / 1.217 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 1.813e-06/0.369, allocations: 0 / 1.217 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002801/0.3718, allocations: 1.178 MB / 1.218 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.3719, allocations: 192.5 kB / 1.218 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/0.3725, allocations: 0.6176 MB / 1.219 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.3726, allocations: 45.69 kB / 1.219 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.3728, allocations: 388.3 kB / 1.219 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.373, allocations: 260.3 kB / 1.22 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.3732, allocations: 142.5 kB / 1.22 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3733, allocations: 390.7 kB / 1.22 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.3737, allocations: 245.9 kB / 1.22 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.3743, allocations: 354.6 kB / 1.221 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009498/0.3752, allocations: 0.5721 MB / 1.221 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3752, allocations: 4 kB / 1.221 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001652/0.3769, allocations: 0.7825 MB / 1.222 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3769, allocations: 8 kB / 1.222 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3769, allocations: 0 / 1.222 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/0.3775, allocations: 84.86 kB / 1.222 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.3781, allocations: 143.8 kB / 1.222 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.3798, allocations: 1.535 MB / 1.224 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005662/0.3804, allocations: 91.25 kB / 1.224 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.3805, allocations: 27.98 kB / 1.224 GB, free: 7.172 MB / 0.9825 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.0003019/0.3808, allocations: 265.6 kB / 1.224 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.3809, allocations: 94.84 kB / 1.224 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.3831, allocations: 1.046 MB / 1.225 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3831, allocations: 8 kB / 1.225 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3831, allocations: 0 / 1.225 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3831, allocations: 7.984 kB / 1.225 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.3858, allocations: 1.914 MB / 1.227 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3858, allocations: 4 kB / 1.227 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.3863, allocations: 143.7 kB / 1.227 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/0.3868, allocations: 84.77 kB / 1.227 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.3869, allocations: 23.98 kB / 1.227 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.3884, allocations: 1.551 MB / 1.229 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3885, allocations: 4.031 kB / 1.229 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.3902, allocations: 0.9765 MB / 1.23 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.3905, allocations: 263.8 kB / 1.23 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.3906, allocations: 24 kB / 1.23 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.3912, allocations: 71.83 kB / 1.23 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.3914, allocations: 68.84 kB / 1.23 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.3914, allocations: 35.97 kB / 1.23 GB, free: 344 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004555/0.3919, allocations: 451 kB / 1.231 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3919, allocations: 0 / 1.231 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006344/0.3926, allocations: 311.3 kB / 1.231 GB, free: 15.6 MB / 0.9981 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.003017/0.3956, allocations: 2.033 MB / 1.233 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.3969, allocations: 0.7845 MB / 1.234 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3969, allocations: 11.94 kB / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000809/0.3978, allocations: 0.5042 MB / 1.234 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.3988, allocations: 280.6 kB / 1.235 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009468/0.4083, allocations: 6.711 MB / 1.241 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.4087, allocations: 1.016 MB / 1.242 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006814/0.4094, allocations: 262.6 kB / 1.242 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.4099, allocations: 379.3 kB / 1.243 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.4099, allocations: 0 / 1.243 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.231/1.641, allocations: 20.31 MB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.641, allocations: 327.5 kB / 1.263 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/3.84, allocations: 0 / 1.263 GB, free: 189.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)