Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001166/0.001166, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00112/0.00112, allocations: 201.4 kB / 16.14 MB, free: 6.648 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.165/1.165, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.025/2.025, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 59.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4626, allocations: 140.4 MB / 0.949 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00482/0.4675, allocations: 5.31 MB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1373/0.6048, allocations: 148.6 MB / 1.099 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008875/0.6058, allocations: 23.88 kB / 1.099 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006618/0.6064, allocations: 162.7 kB / 1.1 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.6082, allocations: 0.5386 MB / 1.1 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.6101, allocations: 0.89 MB / 1.101 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001586/0.6117, allocations: 1.669 MB / 1.103 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.6129, allocations: 1.117 MB / 1.104 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007678/0.6137, allocations: 0.6691 MB / 1.104 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007996/0.6145, allocations: 0.7814 MB / 1.105 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.6148, allocations: 112 kB / 1.105 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.6156, allocations: 463.6 kB / 1.106 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.6159, allocations: 390.5 kB / 1.106 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006764/0.6166, allocations: 0.8081 MB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.6186, allocations: 2.438 MB / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.6186, allocations: 0 / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.11e-07/0.6186, allocations: 0 / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.191e-05/0.6186, allocations: 0 / 1.109 GB, free: 13.5 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003559/0.6222, allocations: 2.006 MB / 1.111 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.6222, allocations: 8.031 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002596/0.6225, allocations: 232.2 kB / 1.111 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009534/0.6234, allocations: 270.5 kB / 1.112 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.6247, allocations: 0.9655 MB / 1.113 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.6248, allocations: 144.8 kB / 1.113 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.625, allocations: 152 kB / 1.113 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.6274, allocations: 1.585 MB / 1.114 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.6274, allocations: 7.938 kB / 1.114 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.6275, allocations: 64 kB / 1.114 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.6276, allocations: 40 kB / 1.115 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.63, allocations: 1.596 MB / 1.116 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005659/0.6356, allocations: 4.245 MB / 1.12 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.6375, allocations: 1.098 MB / 1.121 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006646/0.6382, allocations: 423.7 kB / 1.122 GB, free: 432 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-05/0.6383, allocations: 49.06 kB / 1.122 GB, free: 384 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.6394, allocations: 0.6949 MB / 1.122 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=111): time 2.314e-06/0.6394, allocations: 4 kB / 1.122 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of matching and sorting (n=111): time 0.003559/0.643, allocations: 1.649 MB / 1.124 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/0.6431, allocations: 192.9 kB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.6441, allocations: 0.8417 MB / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.813e-05/0.6442, allocations: 49.7 kB / 1.125 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.6447, allocations: 0.6244 MB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.6449, allocations: 350.9 kB / 1.126 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.6452, allocations: 214.8 kB / 1.126 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6453, allocations: 341.9 kB / 1.127 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/0.646, allocations: 378.4 kB / 1.127 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007953/0.6468, allocations: 0.5101 MB / 1.127 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.6482, allocations: 0.8594 MB / 1.128 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6482, allocations: 0 / 1.128 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002297/0.6505, allocations: 1.149 MB / 1.129 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.6506, allocations: 4 kB / 1.129 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6506, allocations: 4 kB / 1.129 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.6511, allocations: 80.84 kB / 1.129 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/0.652, allocations: 219.7 kB / 1.13 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.6539, allocations: 1.547 MB / 1.131 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/0.6547, allocations: 124 kB / 1.131 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.792e-05/0.6548, allocations: 43.97 kB / 1.131 GB, free: 6.199 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.000536/0.6553, allocations: 351.9 kB / 1.132 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.6556, allocations: 110.9 kB / 1.132 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.6587, allocations: 1.528 MB / 1.133 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.6587, allocations: 16 kB / 1.133 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6587, allocations: 0 / 1.133 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.6587, allocations: 7.969 kB / 1.133 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.6602, allocations: 1.372 MB / 1.135 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.6603, allocations: 7.938 kB / 1.135 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/0.661, allocations: 195.7 kB / 1.135 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004899/0.6615, allocations: 92.75 kB / 1.135 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.223e-05/0.6616, allocations: 35.97 kB / 1.135 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.6633, allocations: 1.552 MB / 1.136 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6633, allocations: 0 / 1.136 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.6657, allocations: 1.289 MB / 1.138 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/0.6662, allocations: 359.2 kB / 1.138 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.6664, allocations: 35.84 kB / 1.138 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008044/0.6672, allocations: 85.09 kB / 1.138 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.6674, allocations: 97.17 kB / 1.138 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.335e-05/0.6675, allocations: 55.95 kB / 1.138 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007792/0.6683, allocations: 0.6176 MB / 1.139 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.502e-06/0.6683, allocations: 0 / 1.139 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009406/0.6692, allocations: 438.5 kB / 1.139 GB, free: 13.73 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003819/0.673, allocations: 2.352 MB / 1.142 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.675, allocations: 1.117 MB / 1.143 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6751, allocations: 0 / 1.143 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.6761, allocations: 0.6779 MB / 1.143 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.6773, allocations: 290 kB / 1.144 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.6927, allocations: 10.03 MB / 1.153 GB, free: 15.07 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.6935, allocations: 1.22 MB / 1.155 GB, free: 13.82 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009664/0.6945, allocations: 317.1 kB / 1.155 GB, free: 13.51 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007734/0.6952, allocations: 0.6047 MB / 1.156 GB, free: 12.91 MB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/0.6952, allocations: 4 kB / 1.156 GB, free: 12.9 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8556/1.551, allocations: 27.38 MB / 1.182 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/1.551, allocations: 313.7 kB / 1.183 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/4.102, allocations: 3.094 kB / 1.183 GB, free: 1.516 MB / 0.9356 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)