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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007929/0.0007928, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004957/0.004957, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.181/1.181, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.071/2.071, allocations: 390.9 MB / 0.6664 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002735, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.5159, allocations: 142.4 MB / 0.9552 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.003472/0.5194, allocations: 3.878 MB / 0.959 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.6574, allocations: 146.6 MB / 1.102 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005715/0.658, allocations: 19.88 kB / 1.102 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004606/0.6585, allocations: 131 kB / 1.102 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.6598, allocations: 437.6 kB / 1.103 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.6613, allocations: 0.7071 MB / 1.103 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.6624, allocations: 1.191 MB / 1.105 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007126/0.6632, allocations: 0.5786 MB / 1.105 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.6635, allocations: 326.4 kB / 1.105 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003877/0.6639, allocations: 377.9 kB / 1.106 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/0.664, allocations: 24 kB / 1.106 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005969/0.6646, allocations: 367.6 kB / 1.106 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.6648, allocations: 183.1 kB / 1.106 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.6651, allocations: 446.9 kB / 1.107 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.6663, allocations: 1.448 MB / 1.108 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6663, allocations: 0 / 1.108 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.226e-06/0.6663, allocations: 4 kB / 1.108 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.6663, allocations: 3.938 kB / 1.108 GB, free: 2.164 MB / 0.8575 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.00193/0.6683, allocations: 1.193 MB / 1.109 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.6683, allocations: 8.031 kB / 1.109 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.6684, allocations: 135.3 kB / 1.11 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008094/0.6693, allocations: 187.5 kB / 1.11 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008839/0.6702, allocations: 0.742 MB / 1.11 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.6702, allocations: 62 kB / 1.11 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/0.6703, allocations: 84 kB / 1.111 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.6717, allocations: 0.9105 MB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.6717, allocations: 0 / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.667e-05/0.6718, allocations: 40 kB / 1.111 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.6718, allocations: 20 kB / 1.111 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.6735, allocations: 1.104 MB / 1.113 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.6768, allocations: 2.505 MB / 1.115 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.6782, allocations: 0.8694 MB / 1.116 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.6787, allocations: 298.7 kB / 1.116 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.709e-05/0.6788, allocations: 36.55 kB / 1.116 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007672/0.6796, allocations: 499 kB / 1.117 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 1.763e-06/0.6796, allocations: 0 / 1.117 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.00279/0.6824, allocations: 1.182 MB / 1.118 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/0.6825, allocations: 196.5 kB / 1.118 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.6831, allocations: 0.6175 MB / 1.119 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.6832, allocations: 41.7 kB / 1.119 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.6835, allocations: 400.3 kB / 1.119 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.6836, allocations: 252.3 kB / 1.119 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.6837, allocations: 61.69 kB / 1.119 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6839, allocations: 386.7 kB / 1.12 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/0.6844, allocations: 245.9 kB / 1.12 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005424/0.6849, allocations: 354.6 kB / 1.12 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009601/0.6859, allocations: 0.576 MB / 1.121 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6859, allocations: 4 kB / 1.121 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001638/0.6875, allocations: 0.7942 MB / 1.122 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6876, allocations: 9.656 kB / 1.122 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6876, allocations: 4 kB / 1.122 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.6881, allocations: 80.78 kB / 1.122 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.6887, allocations: 151.8 kB / 1.122 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.6905, allocations: 1.52 MB / 1.123 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/0.691, allocations: 95.34 kB / 1.123 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/0.6911, allocations: 35.92 kB / 1.123 GB, free: 1.98 MB / 0.8731 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.0003214/0.6914, allocations: 274.5 kB / 1.124 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.6915, allocations: 86.91 kB / 1.124 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.6937, allocations: 1.062 MB / 1.125 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.6937, allocations: 8 kB / 1.125 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.6937, allocations: 0 / 1.125 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.6938, allocations: 3.984 kB / 1.125 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.6965, allocations: 1.911 MB / 1.127 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6965, allocations: 0 / 1.127 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005237/0.6971, allocations: 151.7 kB / 1.127 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/0.6975, allocations: 84.77 kB / 1.127 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.6976, allocations: 23.98 kB / 1.127 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.6992, allocations: 1.552 MB / 1.128 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6992, allocations: 0 / 1.128 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.701, allocations: 0.9882 MB / 1.129 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.7013, allocations: 279.7 kB / 1.13 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/0.7014, allocations: 20 kB / 1.13 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/0.702, allocations: 81.89 kB / 1.13 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.7022, allocations: 72.84 kB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.7022, allocations: 36.03 kB / 1.13 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004692/0.7027, allocations: 455 kB / 1.13 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7027, allocations: 0 / 1.13 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006652/0.7034, allocations: 303.2 kB / 1.131 GB, free: 10.37 MB / 0.8887 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.003078/0.7065, allocations: 2.05 MB / 1.133 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.7078, allocations: 0.7924 MB / 1.133 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7078, allocations: 4 kB / 1.133 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008217/0.7087, allocations: 0.5081 MB / 1.134 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.7098, allocations: 260 kB / 1.134 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.7207, allocations: 6.912 MB / 1.141 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.7212, allocations: 1.013 MB / 1.142 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006948/0.7219, allocations: 262.5 kB / 1.142 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/0.7224, allocations: 383.3 kB / 1.143 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.7224, allocations: 3.938 kB / 1.143 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.7558, allocations: 19.62 MB / 1.162 GB, free: 11 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/0.7561, allocations: 320.6 kB / 1.162 GB, free: 10.61 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/2.983, allocations: 1.625 kB / 1.162 GB, free: 10.61 MB / 0.92 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)