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.001151/0.001151, allocations: 108 kB / 15.61 MB, free: 148 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.001119/0.001119, allocations: 196.8 kB / 16.53 MB, free: 6.656 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.164/1.164, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.019/2.019, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 60.05 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4567, allocations: 140.4 MB / 0.9497 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004152/0.4609, allocations: 4.273 MB / 0.9539 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1275/0.5885, allocations: 150.5 MB / 1.101 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.5892, allocations: 15.94 kB / 1.101 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.5897, allocations: 178.4 kB / 1.101 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.5912, allocations: 0.4901 MB / 1.102 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.5928, allocations: 0.8279 MB / 1.102 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009633/0.5938, allocations: 1.269 MB / 1.104 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006755/0.5945, allocations: 0.614 MB / 1.104 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.5949, allocations: 462.4 kB / 1.105 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.5953, allocations: 489.8 kB / 1.105 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.5955, allocations: 112 kB / 1.105 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006862/0.5962, allocations: 455.7 kB / 1.106 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.5964, allocations: 303 kB / 1.106 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.5968, allocations: 0.5246 MB / 1.106 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.598, allocations: 1.546 MB / 1.108 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.598, allocations: 0 / 1.108 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.112e-06/0.598, allocations: 0 / 1.108 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.5981, allocations: 0 / 1.108 GB, free: 15.31 MB / 0.8731 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.001962/0.6, allocations: 1.403 MB / 1.109 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.6001, allocations: 8.031 kB / 1.109 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.6002, allocations: 135.3 kB / 1.109 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007836/0.601, allocations: 183.4 kB / 1.11 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008201/0.6018, allocations: 0.7381 MB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.6019, allocations: 58 kB / 1.11 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.882e-05/0.602, allocations: 80 kB / 1.111 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.6032, allocations: 0.9028 MB / 1.111 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.6032, allocations: 8 kB / 1.111 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.6033, allocations: 39.98 kB / 1.111 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.6033, allocations: 20 kB / 1.111 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.6048, allocations: 1.096 MB / 1.113 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.6079, allocations: 2.461 MB / 1.115 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.6092, allocations: 0.8638 MB / 1.116 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/0.6097, allocations: 294.7 kB / 1.116 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.387e-05/0.6097, allocations: 40.53 kB / 1.116 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007359/0.6105, allocations: 487.1 kB / 1.117 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 1.753e-06/0.6105, allocations: 0 / 1.117 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.002647/0.6131, allocations: 1.182 MB / 1.118 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.6132, allocations: 188.6 kB / 1.118 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.6138, allocations: 0.6176 MB / 1.118 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.6139, allocations: 41.7 kB / 1.119 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.6141, allocations: 392.3 kB / 1.119 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.6143, allocations: 252.3 kB / 1.119 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.6145, allocations: 146.5 kB / 1.119 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6146, allocations: 394.7 kB / 1.12 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.6151, allocations: 233.9 kB / 1.12 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.6156, allocations: 350.5 kB / 1.12 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009086/0.6165, allocations: 0.5721 MB / 1.121 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6165, allocations: 0 / 1.121 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001567/0.6181, allocations: 0.7863 MB / 1.122 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.6181, allocations: 8 kB / 1.122 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6181, allocations: 8.156 kB / 1.122 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.6186, allocations: 80.77 kB / 1.122 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/0.6192, allocations: 151.8 kB / 1.122 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.6209, allocations: 1.63 MB / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.6215, allocations: 92.44 kB / 1.123 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.6215, allocations: 23.98 kB / 1.123 GB, free: 14.85 MB / 0.8887 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.0002884/0.6218, allocations: 269.6 kB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.6219, allocations: 83.05 kB / 1.124 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.624, allocations: 1.05 MB / 1.125 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.624, allocations: 8 kB / 1.125 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.624, allocations: 7.938 kB / 1.125 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.6241, allocations: 7.922 kB / 1.125 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.6266, allocations: 1.906 MB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6267, allocations: 4 kB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.6272, allocations: 143.8 kB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000387/0.6276, allocations: 72.78 kB / 1.127 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.6276, allocations: 23.98 kB / 1.127 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.6293, allocations: 1.662 MB / 1.129 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6293, allocations: 0 / 1.129 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.631, allocations: 0.9843 MB / 1.13 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.6313, allocations: 267.7 kB / 1.13 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.6314, allocations: 23.98 kB / 1.13 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005714/0.632, allocations: 63.94 kB / 1.13 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.6321, allocations: 64.91 kB / 1.13 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/0.6322, allocations: 39.97 kB / 1.13 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000447/0.6326, allocations: 459 kB / 1.13 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6326, allocations: 4 kB / 1.13 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006121/0.6333, allocations: 291.3 kB / 1.131 GB, free: 7.176 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.002928/0.6362, allocations: 2.045 MB / 1.133 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.6381, allocations: 0.9836 MB / 1.134 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6381, allocations: 0 / 1.134 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.6389, allocations: 0.5081 MB / 1.134 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.6399, allocations: 297 kB / 1.134 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/0.649, allocations: 6.442 MB / 1.141 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.6494, allocations: 1.015 MB / 1.142 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006451/0.6501, allocations: 258.6 kB / 1.142 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.6505, allocations: 375.3 kB / 1.142 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.6505, allocations: 0 / 1.142 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.894/3.545, allocations: 20.68 MB / 1.163 GB, free: 6.961 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.891/13.44, allocations: 10.17 kB / 1.163 GB, free: 6.949 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)