Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.0008592/0.0008592, allocations: 97.56 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.00492/0.00492, allocations: 168.4 kB / 16.26 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.076/2.076, allocations: 390.9 MB / 0.6664 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002818, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4937, allocations: 142.4 MB / 0.9552 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.003504/0.4972, allocations: 4.004 MB / 0.9591 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1258/0.6231, allocations: 146.7 MB / 1.102 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005352/0.6236, allocations: 15.94 kB / 1.102 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.6241, allocations: 138.9 kB / 1.103 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.6253, allocations: 448.3 kB / 1.103 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.6268, allocations: 0.7372 MB / 1.104 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001096/0.6279, allocations: 1.234 MB / 1.105 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007871/0.6287, allocations: 0.6701 MB / 1.106 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.6291, allocations: 350.2 kB / 1.106 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.6296, allocations: 389.7 kB / 1.106 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.846e-05/0.6297, allocations: 28 kB / 1.106 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006315/0.6303, allocations: 391.6 kB / 1.107 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.6305, allocations: 191.1 kB / 1.107 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.6309, allocations: 490.6 kB / 1.107 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.6322, allocations: 1.565 MB / 1.109 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.6322, allocations: 0 / 1.109 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6322, allocations: 7.875 kB / 1.109 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.6322, allocations: 0 / 1.109 GB, free: 1.348 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.001967/0.6342, allocations: 1.251 MB / 1.11 GB, free: 52 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.6342, allocations: 12.03 kB / 1.11 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.6344, allocations: 148.2 kB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000977/0.6354, allocations: 231.2 kB / 1.11 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008918/0.6363, allocations: 0.7575 MB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.6363, allocations: 77.94 kB / 1.111 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.6364, allocations: 88 kB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.638, allocations: 1.02 MB / 1.112 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.638, allocations: 0 / 1.112 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/0.6381, allocations: 51.92 kB / 1.112 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.6381, allocations: 24 kB / 1.112 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.6398, allocations: 1.179 MB / 1.114 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/0.6434, allocations: 2.729 MB / 1.116 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.6449, allocations: 0.927 MB / 1.117 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.6454, allocations: 314.7 kB / 1.117 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005453/0.646, allocations: 478.1 kB / 1.118 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008022/0.6468, allocations: 0.4991 MB / 1.118 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 1.803e-06/0.6468, allocations: 4 kB / 1.118 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.002792/0.6496, allocations: 1.233 MB / 1.12 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.6497, allocations: 200.5 kB / 1.12 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006512/0.6504, allocations: 0.641 MB / 1.12 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.6504, allocations: 41.7 kB / 1.12 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.6507, allocations: 432.2 kB / 1.121 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.6509, allocations: 264.1 kB / 1.121 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.383e-05/0.651, allocations: 61.69 kB / 1.121 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6511, allocations: 390.7 kB / 1.122 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.6516, allocations: 257.9 kB / 1.122 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005587/0.6522, allocations: 370.5 kB / 1.122 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.6532, allocations: 0.6072 MB / 1.123 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.6532, allocations: 8 kB / 1.123 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001689/0.6549, allocations: 0.8331 MB / 1.124 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.6549, allocations: 4 kB / 1.124 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6549, allocations: 0 / 1.124 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/0.6555, allocations: 80.88 kB / 1.124 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.6561, allocations: 163.7 kB / 1.124 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1017/0.7578, allocations: 1.52 MB / 1.125 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/0.7585, allocations: 103.4 kB / 1.125 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.7586, allocations: 32.03 kB / 1.125 GB, free: 15.75 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 (88): * Single equations (assignments): 87 * 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.00033/0.7589, allocations: 272.5 kB / 1.126 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.759, allocations: 90.97 kB / 1.126 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.7612, allocations: 1.109 MB / 1.127 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.7612, allocations: 11.94 kB / 1.127 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.7612, allocations: 0 / 1.127 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.7613, allocations: 7.984 kB / 1.127 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.7641, allocations: 2.017 MB / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.7642, allocations: 0 / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/0.7647, allocations: 151.8 kB / 1.129 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/0.7652, allocations: 80.78 kB / 1.129 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.7652, allocations: 27.97 kB / 1.129 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.7668, allocations: 1.552 MB / 1.131 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7668, allocations: 0 / 1.131 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.7686, allocations: 1.031 MB / 1.132 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.7689, allocations: 287.7 kB / 1.132 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.769, allocations: 19.98 kB / 1.132 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.7697, allocations: 79.94 kB / 1.132 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.7698, allocations: 73.03 kB / 1.132 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.325e-05/0.7699, allocations: 43.89 kB / 1.132 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004836/0.7704, allocations: 475 kB / 1.132 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7704, allocations: 0 / 1.132 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000697/0.7711, allocations: 331.1 kB / 1.133 GB, free: 7.863 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 (93): * Single equations (assignments): 87 * 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.003147/0.7742, allocations: 2.102 MB / 1.135 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.7757, allocations: 0.8237 MB / 1.136 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7757, allocations: 0 / 1.136 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.7766, allocations: 0.5353 MB / 1.136 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.7777, allocations: 264.5 kB / 1.136 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.7889, allocations: 7.268 MB / 1.144 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.7894, allocations: 1.043 MB / 1.145 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007321/0.7902, allocations: 270.6 kB / 1.145 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005006/0.7907, allocations: 407.3 kB / 1.145 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/0.7907, allocations: 0 / 1.145 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8184/1.609, allocations: 20.6 MB / 1.165 GB, free: 6.938 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/1.609, allocations: 313.5 kB / 1.166 GB, free: 6.559 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/3.699, allocations: 0 / 1.166 GB, free: 6.559 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)