Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.0008577/0.0008576, allocations: 97.95 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.004984/0.004984, allocations: 170.4 kB / 16.27 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.205/1.205, 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.084/2.084, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002743, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.511/0.5113, allocations: 142.4 MB / 0.9552 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.003392/0.5147, allocations: 3.939 MB / 0.959 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.132/0.6467, allocations: 146.6 MB / 1.102 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005922/0.6473, allocations: 19.88 kB / 1.102 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.6478, allocations: 134.9 kB / 1.102 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.6491, allocations: 427.8 kB / 1.103 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.6506, allocations: 0.7116 MB / 1.103 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.6519, allocations: 1.203 MB / 1.105 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007555/0.6526, allocations: 0.5842 MB / 1.105 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004635/0.6531, allocations: 334.3 kB / 1.106 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004598/0.6536, allocations: 373.9 kB / 1.106 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-05/0.6537, allocations: 28 kB / 1.106 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.6543, allocations: 367.6 kB / 1.106 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.6545, allocations: 187.1 kB / 1.106 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.6549, allocations: 454.9 kB / 1.107 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.6562, allocations: 1.464 MB / 1.108 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6562, allocations: 0 / 1.108 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6562, allocations: 4 kB / 1.108 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.6562, allocations: 4 kB / 1.108 GB, free: 1.93 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001898/0.6581, allocations: 1.196 MB / 1.109 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.6582, allocations: 12.03 kB / 1.11 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.6583, allocations: 131.4 kB / 1.11 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008047/0.6591, allocations: 203.4 kB / 1.11 GB, free: 348 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008605/0.66, allocations: 0.742 MB / 1.111 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.6601, allocations: 62 kB / 1.111 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6602, allocations: 76 kB / 1.111 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.6615, allocations: 0.9222 MB / 1.112 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6616, allocations: 4 kB / 1.112 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.6616, allocations: 36 kB / 1.112 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.6617, allocations: 20 kB / 1.112 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.6632, allocations: 1.112 MB / 1.113 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.6666, allocations: 2.521 MB / 1.115 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.6679, allocations: 0.8096 MB / 1.116 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.6684, allocations: 302.6 kB / 1.116 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.45e-05/0.6685, allocations: 36.67 kB / 1.116 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007641/0.6692, allocations: 495.1 kB / 1.117 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 1.713e-06/0.6692, allocations: 0 / 1.117 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.002798/0.672, allocations: 1.205 MB / 1.118 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.6721, allocations: 196.6 kB / 1.118 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/0.6728, allocations: 0.6254 MB / 1.119 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.6729, allocations: 37.7 kB / 1.119 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.6731, allocations: 400.3 kB / 1.119 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.6733, allocations: 256.3 kB / 1.119 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.6734, allocations: 69.67 kB / 1.119 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6735, allocations: 386.7 kB / 1.12 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/0.674, allocations: 249.9 kB / 1.12 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/0.6745, allocations: 366.4 kB / 1.12 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000961/0.6755, allocations: 0.5877 MB / 1.121 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6755, allocations: 4 kB / 1.121 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001629/0.6771, allocations: 0.802 MB / 1.122 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.6772, allocations: 7.984 kB / 1.122 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6772, allocations: 0 / 1.122 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.6777, allocations: 84.78 kB / 1.122 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.6783, allocations: 155.7 kB / 1.122 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.68, allocations: 1.516 MB / 1.124 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.6806, allocations: 106.1 kB / 1.124 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.6806, allocations: 27.98 kB / 1.124 GB, free: 1.703 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 (87): * Single equations (assignments): 86 * 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.0003076/0.6809, allocations: 263.8 kB / 1.124 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.6811, allocations: 94.88 kB / 1.124 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.6832, allocations: 1.062 MB / 1.125 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.6832, allocations: 12 kB / 1.125 GB, free: 260 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.6832, allocations: 4 kB / 1.125 GB, free: 256 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.6832, allocations: 7.969 kB / 1.125 GB, free: 248 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000844/0.6841, allocations: 0.8957 MB / 1.126 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6841, allocations: 0 / 1.126 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.6846, allocations: 143.8 kB / 1.126 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004757/0.6851, allocations: 84.78 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.6852, allocations: 27.97 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.6867, allocations: 1.552 MB / 1.128 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6867, allocations: 0 / 1.128 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.6884, allocations: 0.9318 MB / 1.129 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.6887, allocations: 279.6 kB / 1.129 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.633e-05/0.6888, allocations: 28.05 kB / 1.129 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.6894, allocations: 79.94 kB / 1.129 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.6895, allocations: 72.89 kB / 1.129 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.827e-05/0.6896, allocations: 31.98 kB / 1.129 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004666/0.6901, allocations: 463 kB / 1.129 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.944e-06/0.6901, allocations: 0 / 1.129 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006013/0.6907, allocations: 303.3 kB / 1.13 GB, free: 11.15 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.003065/0.6938, allocations: 1.979 MB / 1.132 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.6951, allocations: 0.8001 MB / 1.132 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6952, allocations: 4 kB / 1.133 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008057/0.696, allocations: 0.5159 MB / 1.133 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.697, allocations: 258.9 kB / 1.133 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.7077, allocations: 6.926 MB / 1.14 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.7083, allocations: 1.021 MB / 1.141 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000693/0.709, allocations: 254.6 kB / 1.141 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/0.7094, allocations: 375.3 kB / 1.142 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/0.7094, allocations: 0 / 1.142 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6459/1.355, allocations: 19.79 MB / 1.161 GB, free: 11.66 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000344/1.356, allocations: 323.3 kB / 1.161 GB, free: 11.27 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.858/4.214, allocations: 0 / 1.161 GB, free: 11.27 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)