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.0008583/0.0008583, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004846/0.004846, allocations: 170 kB / 16.27 MB, free: 6.328 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.177/1.177, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.046/2.046, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002837, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.4991, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004215/0.5034, allocations: 4.879 MB / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1304/0.6338, allocations: 147.1 MB / 1.104 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007879/0.6346, allocations: 19.88 kB / 1.104 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.6352, allocations: 162.7 kB / 1.104 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.6369, allocations: 0.5414 MB / 1.104 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.6387, allocations: 0.8846 MB / 1.105 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001592/0.6403, allocations: 1.666 MB / 1.107 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.6415, allocations: 1.101 MB / 1.108 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006706/0.6422, allocations: 0.4973 MB / 1.108 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006516/0.6429, allocations: 0.5669 MB / 1.109 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.643, allocations: 39.94 kB / 1.109 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006629/0.6437, allocations: 375.7 kB / 1.109 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.6439, allocations: 266.6 kB / 1.109 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005452/0.6445, allocations: 0.6886 MB / 1.11 GB, free: 36 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.6463, allocations: 2.328 MB / 1.112 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.6463, allocations: 3.938 kB / 1.112 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6463, allocations: 0 / 1.112 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.694e-05/0.6463, allocations: 0 / 1.112 GB, free: 13.7 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.002914/0.6493, allocations: 1.655 MB / 1.114 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6493, allocations: 8.031 kB / 1.114 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002683/0.6496, allocations: 232.2 kB / 1.114 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009232/0.6505, allocations: 262.6 kB / 1.115 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.6517, allocations: 0.9693 MB / 1.115 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.6518, allocations: 152.8 kB / 1.116 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.652, allocations: 148 kB / 1.116 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.6544, allocations: 1.597 MB / 1.117 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.6545, allocations: 4 kB / 1.117 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.6546, allocations: 60 kB / 1.117 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.6546, allocations: 40 kB / 1.117 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.657, allocations: 1.608 MB / 1.119 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005743/0.6627, allocations: 4.294 MB / 1.123 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.6645, allocations: 1.102 MB / 1.124 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006767/0.6652, allocations: 443.6 kB / 1.125 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-05/0.6653, allocations: 45.27 kB / 1.125 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.6663, allocations: 0.6996 MB / 1.125 GB, free: 120 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=111): time 2.084e-06/0.6663, allocations: 4 kB / 1.125 GB, free: 116 kB / 0.8731 GB Notification: Performance of matching and sorting (n=111): time 0.003415/0.6697, allocations: 1.661 MB / 1.127 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.6698, allocations: 200.9 kB / 1.127 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000897/0.6707, allocations: 0.8378 MB / 1.128 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.6708, allocations: 45.7 kB / 1.128 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.6712, allocations: 0.6245 MB / 1.129 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.6714, allocations: 358.9 kB / 1.129 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.6716, allocations: 85.67 kB / 1.129 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.6717, allocations: 345.9 kB / 1.129 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006506/0.6723, allocations: 382.4 kB / 1.13 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007407/0.6731, allocations: 0.514 MB / 1.13 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.6744, allocations: 0.8555 MB / 1.131 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.6744, allocations: 0 / 1.131 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002143/0.6766, allocations: 1.157 MB / 1.132 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6766, allocations: 16.11 kB / 1.132 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6766, allocations: 0 / 1.132 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005415/0.6772, allocations: 84.78 kB / 1.132 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/0.678, allocations: 223.7 kB / 1.133 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4324/1.11, allocations: 1.536 MB / 1.134 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.112, allocations: 142.9 kB / 1.134 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/1.112, allocations: 43.97 kB / 1.134 GB, free: 6.719 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.0005912/1.112, allocations: 351.8 kB / 1.135 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/1.113, allocations: 110.6 kB / 1.135 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/1.115, allocations: 1.547 MB / 1.136 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.115, allocations: 12 kB / 1.136 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/1.116, allocations: 4 kB / 1.136 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.116, allocations: 7.969 kB / 1.136 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/1.117, allocations: 1.369 MB / 1.138 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-06/1.117, allocations: 3.938 kB / 1.138 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/1.118, allocations: 199.7 kB / 1.138 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004758/1.118, allocations: 80.78 kB / 1.138 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/1.118, allocations: 35.97 kB / 1.138 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/1.12, allocations: 1.575 MB / 1.139 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.12, allocations: 0 / 1.139 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/1.122, allocations: 1.293 MB / 1.141 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/1.122, allocations: 387 kB / 1.141 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/1.122, allocations: 24 kB / 1.141 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008186/1.123, allocations: 108.5 kB / 1.141 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/1.123, allocations: 101.2 kB / 1.141 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/1.123, allocations: 47.97 kB / 1.141 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006653/1.124, allocations: 0.6215 MB / 1.142 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.203e-06/1.124, allocations: 3.938 kB / 1.142 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000811/1.125, allocations: 438.4 kB / 1.142 GB, free: 14.17 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.003453/1.128, allocations: 2.356 MB / 1.145 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001759/1.13, allocations: 1.121 MB / 1.146 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.13, allocations: 256 / 1.146 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.131, allocations: 0.6816 MB / 1.146 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/1.132, allocations: 305 kB / 1.147 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.147, allocations: 10.11 MB / 1.157 GB, free: 15.41 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/1.147, allocations: 1.22 MB / 1.158 GB, free: 14.16 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008424/1.148, allocations: 317.1 kB / 1.158 GB, free: 13.85 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007238/1.149, allocations: 0.6008 MB / 1.159 GB, free: 13.25 MB / 0.92 GB Notification: Performance of SimCode: time 3.4e-07/1.149, allocations: 4 kB / 1.159 GB, free: 13.25 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.48/3.629, allocations: 26.97 MB / 1.185 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/3.629, allocations: 313.2 kB / 1.185 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/6.201, allocations: 0 / 1.185 GB, free: 2.301 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)