Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_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.385/1.385, allocations: 249.5 MB / 257 MB, free: 6.883 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.0009958/0.0009958, allocations: 175.7 kB / 316.3 MB, free: 3.219 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.39/1.39, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008546/0.0008546, allocations: 85.3 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.847e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1875, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.661/5.849, allocations: 2.191 GB / 3.076 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/5.849, allocations: 89.27 kB / 3.076 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1597/6.009, allocations: 77.06 MB / 3.152 GB, free: 104 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.633e-06/6.009, allocations: 0 / 3.152 GB, free: 104 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.639e-05/6.009, allocations: 28 kB / 3.152 GB, free: 103.9 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001819/6.011, allocations: 1.246 MB / 3.153 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/6.011, allocations: 12.03 kB / 3.153 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008628/6.012, allocations: 210.2 kB / 3.153 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009151/6.013, allocations: 0.6938 MB / 3.154 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/6.013, allocations: 43.98 kB / 3.154 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.56e-05/6.013, allocations: 64 kB / 3.154 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001354/6.014, allocations: 1.117 MB / 3.155 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/6.016, allocations: 0.9178 MB / 3.156 GB, free: 99.48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/6.016, allocations: 0 / 3.156 GB, free: 99.48 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/6.016, allocations: 0 / 3.156 GB, free: 99.48 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/6.016, allocations: 28 kB / 3.156 GB, free: 99.46 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/6.019, allocations: 2.805 MB / 3.159 GB, free: 96.59 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/6.02, allocations: 0.7044 MB / 3.159 GB, free: 95.88 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/6.02, allocations: 251.2 kB / 3.159 GB, free: 95.62 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.305e-05/6.021, allocations: 32.8 kB / 3.16 GB, free: 95.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005174/6.021, allocations: 403.8 kB / 3.16 GB, free: 95.18 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 2.504e-06/6.021, allocations: 0 / 3.16 GB, free: 95.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78): time 0.001405/6.022, allocations: 0.6836 MB / 3.161 GB, free: 94.48 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/6.023, allocations: 241.1 kB / 3.161 GB, free: 94.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006001/6.023, allocations: 0.5465 MB / 3.161 GB, free: 93.64 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/6.023, allocations: 25.7 kB / 3.161 GB, free: 93.61 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/6.023, allocations: 0.5034 MB / 3.162 GB, free: 93.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/6.024, allocations: 244.2 kB / 3.162 GB, free: 92.86 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/6.024, allocations: 0 / 3.162 GB, free: 92.86 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/6.024, allocations: 386.7 kB / 3.162 GB, free: 92.47 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/6.024, allocations: 205.5 kB / 3.163 GB, free: 92.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/6.024, allocations: 315.5 kB / 3.163 GB, free: 91.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/6.025, allocations: 252.5 kB / 3.163 GB, free: 91.69 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/6.025, allocations: 3.938 kB / 3.163 GB, free: 91.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001313/6.026, allocations: 0.6915 MB / 3.164 GB, free: 90.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/6.026, allocations: 4 kB / 3.164 GB, free: 90.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/6.026, allocations: 0 / 3.164 GB, free: 90.97 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/6.027, allocations: 84.83 kB / 3.164 GB, free: 90.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/6.027, allocations: 155.7 kB / 3.164 GB, free: 90.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/6.029, allocations: 1.454 MB / 3.166 GB, free: 89.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005881/6.029, allocations: 71.41 kB / 3.166 GB, free: 89.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/6.029, allocations: 27.98 kB / 3.166 GB, free: 89.06 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 (83): * Single equations (assignments): 82 * 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.0001637/6.03, allocations: 118.3 kB / 3.166 GB, free: 88.94 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001252/6.031, allocations: 0.6836 MB / 3.166 GB, free: 88.25 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/6.031, allocations: 87 kB / 3.166 GB, free: 88.16 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/6.033, allocations: 0.9276 MB / 3.167 GB, free: 87.22 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/6.033, allocations: 8 kB / 3.167 GB, free: 87.21 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/6.033, allocations: 0 / 3.167 GB, free: 87.21 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/6.033, allocations: 3.984 kB / 3.167 GB, free: 87.21 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000935/6.034, allocations: 0.8605 MB / 3.168 GB, free: 86.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/6.034, allocations: 0 / 3.168 GB, free: 86.31 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/6.034, allocations: 151.8 kB / 3.168 GB, free: 86.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/6.035, allocations: 84.77 kB / 3.168 GB, free: 86.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/6.035, allocations: 15.98 kB / 3.168 GB, free: 86.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/6.036, allocations: 1.473 MB / 3.17 GB, free: 84.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/6.036, allocations: 4.062 kB / 3.17 GB, free: 84.46 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/6.038, allocations: 0.7893 MB / 3.171 GB, free: 83.65 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/6.038, allocations: 291.7 kB / 3.171 GB, free: 83.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/6.038, allocations: 0 / 3.171 GB, free: 83.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/6.038, allocations: 51.95 kB / 3.171 GB, free: 83.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/6.039, allocations: 60.69 kB / 3.171 GB, free: 83.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/6.039, allocations: 27.98 kB / 3.171 GB, free: 83.21 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004661/6.039, allocations: 451.1 kB / 3.172 GB, free: 82.77 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.1e-07/6.039, allocations: 3.938 kB / 3.172 GB, free: 82.77 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001034/6.04, allocations: 350.6 kB / 3.172 GB, free: 82.43 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 (89): * Single equations (assignments): 86 * 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.002857/6.043, allocations: 2.271 MB / 3.174 GB, free: 80.17 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001081/6.044, allocations: 0.6829 MB / 3.175 GB, free: 79.48 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/6.044, allocations: 3.938 kB / 3.175 GB, free: 79.47 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005876/6.045, allocations: 456.6 kB / 3.175 GB, free: 79.02 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/6.046, allocations: 245.6 kB / 3.175 GB, free: 78.78 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/6.05, allocations: 1.686 MB / 3.177 GB, free: 77.05 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/6.05, allocations: 1.101 MB / 3.178 GB, free: 75.92 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007912/6.051, allocations: 262.2 kB / 3.178 GB, free: 75.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/6.051, allocations: 443.3 kB / 3.179 GB, free: 75.23 MB / 0.8698 GB Notification: Performance of SimCode: time 9.01e-07/6.051, allocations: 0 / 3.179 GB, free: 75.23 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04821/6.1, allocations: 24.2 MB / 3.202 GB, free: 51.12 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/6.1, allocations: 216.8 kB / 3.203 GB, free: 50.82 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/8.992, allocations: 4.031 kB / 3.203 GB, free: 50.82 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)