Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 176.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 90.47 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.135e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2067, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.759/5.966, allocations: 2.19 GB / 3.076 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/5.966, allocations: 94.22 kB / 3.076 GB, free: 216 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1153/6.082, allocations: 56.26 MB / 3.131 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.304e-06/6.082, allocations: 0 / 3.131 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.483e-05/6.082, allocations: 16 kB / 3.131 GB, free: 159.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.001875/6.084, allocations: 1.035 MB / 3.132 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/6.084, allocations: 12.03 kB / 3.132 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009145/6.085, allocations: 182.6 kB / 3.132 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009028/6.086, allocations: 0.6036 MB / 3.132 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/6.086, allocations: 28 kB / 3.132 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-05/6.086, allocations: 40 kB / 3.132 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001178/6.087, allocations: 0.9679 MB / 3.133 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009798/6.088, allocations: 0.6998 MB / 3.134 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/6.088, allocations: 0 / 3.134 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/6.088, allocations: 3.953 kB / 3.134 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/6.088, allocations: 20 kB / 3.134 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/6.091, allocations: 2.204 MB / 3.136 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000775/6.092, allocations: 0.6273 MB / 3.137 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/6.092, allocations: 234.4 kB / 3.137 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-05/6.092, allocations: 32.67 kB / 3.137 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004928/6.093, allocations: 379.5 kB / 3.138 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 2.274e-06/6.093, allocations: 0 / 3.138 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.001346/6.094, allocations: 0.6407 MB / 3.138 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.505e-05/6.094, allocations: 244.1 kB / 3.138 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/6.095, allocations: 498.3 kB / 3.139 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/6.095, allocations: 25.7 kB / 3.139 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/6.095, allocations: 376.2 kB / 3.139 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/6.095, allocations: 224.5 kB / 3.139 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/6.095, allocations: 0 / 3.139 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.05e-05/6.095, allocations: 378.8 kB / 3.14 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/6.095, allocations: 181.5 kB / 3.14 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/6.096, allocations: 283.5 kB / 3.14 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/6.096, allocations: 240.4 kB / 3.14 GB, free: 149 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/6.096, allocations: 0 / 3.14 GB, free: 149 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001148/6.097, allocations: 0.6291 MB / 3.141 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/6.097, allocations: 4 kB / 3.141 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/6.097, allocations: 0 / 3.141 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/6.098, allocations: 88.73 kB / 3.141 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/6.098, allocations: 139.8 kB / 3.141 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/6.1, allocations: 1.453 MB / 3.143 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/6.1, allocations: 59.53 kB / 3.143 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/6.101, allocations: 31.97 kB / 3.143 GB, free: 146.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002043/6.101, allocations: 118.4 kB / 3.143 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001403/6.102, allocations: 0.6291 MB / 3.144 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/6.102, allocations: 71.16 kB / 3.144 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/6.104, allocations: 0.8791 MB / 3.144 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/6.104, allocations: 8 kB / 3.144 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/6.104, allocations: 0 / 3.144 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/6.104, allocations: 7.938 kB / 3.144 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/6.105, allocations: 0.7202 MB / 3.145 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/6.105, allocations: 0 / 3.145 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/6.106, allocations: 143.8 kB / 3.145 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000479/6.106, allocations: 76.78 kB / 3.145 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/6.106, allocations: 19.98 kB / 3.145 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/6.108, allocations: 1.477 MB / 3.147 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/6.108, allocations: 4.062 kB / 3.147 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/6.109, allocations: 0.7426 MB / 3.148 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/6.11, allocations: 275.8 kB / 3.148 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/6.11, allocations: 0 / 3.148 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000529/6.11, allocations: 59.89 kB / 3.148 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/6.11, allocations: 56.7 kB / 3.148 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/6.11, allocations: 27.98 kB / 3.148 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004735/6.111, allocations: 406.9 kB / 3.148 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.91e-07/6.111, allocations: 0 / 3.148 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001004/6.112, allocations: 299.1 kB / 3.149 GB, free: 140.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003096/6.115, allocations: 2.207 MB / 3.151 GB, free: 138 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001013/6.116, allocations: 0.6281 MB / 3.151 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/6.116, allocations: 4 kB / 3.151 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005395/6.117, allocations: 444.6 kB / 3.152 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/6.118, allocations: 214.1 kB / 3.152 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/6.121, allocations: 1.423 MB / 3.153 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/6.121, allocations: 1.007 MB / 3.154 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007553/6.122, allocations: 257.6 kB / 3.155 GB, free: 134 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/6.123, allocations: 335.3 kB / 3.155 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of SimCode: time 6.92e-07/6.123, allocations: 4 kB / 3.155 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04804/6.171, allocations: 22.38 MB / 3.177 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/6.171, allocations: 233.7 kB / 3.177 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/8.741, allocations: 0 / 3.177 GB, free: 111.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)