Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_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.0008806/0.0008804, 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.005076/0.005076, allocations: 170.9 kB / 16.27 MB, free: 6.652 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.207/1.207, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.075/2.075, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002696, allocations: 12 kB / 0.8161 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4964, allocations: 142.4 MB / 0.9552 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.003893/0.5003, allocations: 4.312 MB / 0.9594 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1344/0.6347, allocations: 146.8 MB / 1.103 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007275/0.6355, allocations: 19.88 kB / 1.103 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.636, allocations: 154.8 kB / 1.103 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.6375, allocations: 449.2 kB / 1.103 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.6391, allocations: 0.7492 MB / 1.104 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.6405, allocations: 1.343 MB / 1.105 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.6415, allocations: 0.8692 MB / 1.106 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.6421, allocations: 393.8 kB / 1.107 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005042/0.6426, allocations: 445.3 kB / 1.107 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.531e-05/0.6427, allocations: 28 kB / 1.107 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006368/0.6433, allocations: 371.6 kB / 1.107 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.6435, allocations: 214.9 kB / 1.108 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000429/0.644, allocations: 0.5527 MB / 1.108 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.6455, allocations: 1.783 MB / 1.11 GB, free: 332 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.6455, allocations: 0 / 1.11 GB, free: 332 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6455, allocations: 4 kB / 1.11 GB, free: 328 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.6455, allocations: 0 / 1.11 GB, free: 328 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002142/0.6477, allocations: 1.417 MB / 1.111 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.6477, allocations: 12.03 kB / 1.111 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/0.6479, allocations: 181.8 kB / 1.111 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008431/0.6488, allocations: 231 kB / 1.112 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/0.6498, allocations: 0.8403 MB / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.6498, allocations: 94.41 kB / 1.113 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.65, allocations: 116 kB / 1.113 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.6517, allocations: 1.198 MB / 1.114 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.6518, allocations: 7.922 kB / 1.114 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.665e-05/0.6519, allocations: 52 kB / 1.114 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.6519, allocations: 28 kB / 1.114 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.6538, allocations: 1.293 MB / 1.115 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/0.6579, allocations: 3.205 MB / 1.118 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.6594, allocations: 0.8666 MB / 1.119 GB, free: 6.527 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.6599, allocations: 334.7 kB / 1.119 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.291e-05/0.66, allocations: 24.62 kB / 1.12 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008376/0.6608, allocations: 0.5237 MB / 1.12 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 1.893e-06/0.6608, allocations: 4 kB / 1.12 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.00295/0.6638, allocations: 1.286 MB / 1.121 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.6639, allocations: 196.9 kB / 1.121 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007929/0.6647, allocations: 0.7314 MB / 1.122 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.6647, allocations: 41.7 kB / 1.122 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.6651, allocations: 0.5231 MB / 1.123 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.6653, allocations: 279.9 kB / 1.123 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/0.6654, allocations: 69.67 kB / 1.123 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6655, allocations: 334 kB / 1.123 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.666, allocations: 269.9 kB / 1.124 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/0.6666, allocations: 390.5 kB / 1.124 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.6676, allocations: 0.6437 MB / 1.125 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6677, allocations: 4 kB / 1.125 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001784/0.6694, allocations: 0.8721 MB / 1.126 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6695, allocations: 11.94 kB / 1.126 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6695, allocations: 4.203 kB / 1.126 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/0.67, allocations: 84.7 kB / 1.126 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/0.6707, allocations: 175.7 kB / 1.126 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.6724, allocations: 1.508 MB / 1.127 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.6731, allocations: 111.2 kB / 1.127 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.6731, allocations: 35.98 kB / 1.127 GB, free: 13.79 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 (96): * Single equations (assignments): 95 * 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.0003611/0.6735, allocations: 301.5 kB / 1.128 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.6736, allocations: 94.88 kB / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.6759, allocations: 1.129 MB / 1.129 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.6759, allocations: 12 kB / 1.129 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6759, allocations: 4 kB / 1.129 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.6759, allocations: 12 kB / 1.129 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.6769, allocations: 1.059 MB / 1.13 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.677, allocations: 0 / 1.13 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.6775, allocations: 159.8 kB / 1.13 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/0.678, allocations: 76.78 kB / 1.13 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.6781, allocations: 31.97 kB / 1.13 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.6797, allocations: 1.536 MB / 1.132 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.6797, allocations: 4.031 kB / 1.132 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.6815, allocations: 0.9941 MB / 1.133 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.6819, allocations: 307.5 kB / 1.133 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.682, allocations: 20 kB / 1.133 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006214/0.6826, allocations: 84.53 kB / 1.133 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.6827, allocations: 68.89 kB / 1.133 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.073e-05/0.6828, allocations: 35.98 kB / 1.133 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005642/0.6834, allocations: 0.5224 MB / 1.134 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6834, allocations: 3.938 kB / 1.134 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006576/0.684, allocations: 358.8 kB / 1.134 GB, free: 6.754 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 (98): * Single equations (assignments): 92 * 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.003126/0.6872, allocations: 2.057 MB / 1.136 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.6886, allocations: 0.8586 MB / 1.137 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6887, allocations: 0 / 1.137 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008625/0.6895, allocations: 0.5472 MB / 1.137 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.6906, allocations: 283.1 kB / 1.138 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.7029, allocations: 8.055 MB / 1.146 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.7035, allocations: 1.114 MB / 1.147 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007361/0.7043, allocations: 287.2 kB / 1.147 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005792/0.7049, allocations: 479.2 kB / 1.147 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.7049, allocations: 0 / 1.147 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7916/1.497, allocations: 21.89 MB / 1.169 GB, free: 3.496 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/1.497, allocations: 303.9 kB / 1.169 GB, free: 3.117 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/3.717, allocations: 0 / 1.169 GB, free: 3.117 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)