Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009173/0.0009171, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008885/0.0008885, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 270.3 kB / 291.3 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9773/0.9773, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005478/0.0005479, allocations: 12.62 kB / 0.598 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1944, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00687/0.2014, allocations: 5.568 MB / 0.6899 GB, free: 9.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4956/0.697, allocations: 137.8 MB / 0.8245 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.6985, allocations: 23.59 kB / 0.8245 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006535/0.6992, allocations: 174.6 kB / 0.8247 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.7014, allocations: 0.5582 MB / 0.8252 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.704, allocations: 0.9818 MB / 0.8262 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003036/0.7071, allocations: 2.268 MB / 0.8284 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.7088, allocations: 1.191 MB / 0.8295 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.7102, allocations: 0.7409 MB / 0.8303 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.7114, allocations: 0.8811 MB / 0.8311 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.7116, allocations: 61.94 kB / 0.8312 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009619/0.7125, allocations: 402.4 kB / 0.8316 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.7129, allocations: 382.4 kB / 0.8319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.7132, allocations: 388.5 kB / 0.8323 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002396/0.7156, allocations: 2.587 MB / 0.8348 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7157, allocations: 6.719 kB / 0.8348 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7157, allocations: 0 / 0.8348 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.319e-05/0.7158, allocations: 0 / 0.8348 GB, free: 11.27 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005195/0.721, allocations: 2.298 MB / 0.8371 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.721, allocations: 7.875 kB / 0.8371 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01385/0.7349, allocations: 2.3 MB / 0.8393 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.7374, allocations: 1.231 MB / 0.8405 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.7376, allocations: 170.2 kB / 0.8407 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004353/0.738, allocations: 212.7 kB / 0.8409 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008325/0.7463, allocations: 3.344 MB / 0.8442 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.7464, allocations: 0 / 0.8442 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.7467, allocations: 94.09 kB / 0.8443 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.7467, allocations: 54.5 kB / 0.8443 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/0.7588, allocations: 4.331 MB / 0.8485 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01837/0.7772, allocations: 7.362 MB / 0.8557 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008606/0.7858, allocations: 2.887 MB / 0.8586 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004462/0.7903, allocations: 1.498 MB / 0.86 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008336/0.7912, allocations: 0.5073 MB / 0.8605 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005483/0.7967, allocations: 1.849 MB / 0.8623 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 5.5e-06/0.7967, allocations: 4 kB / 0.8623 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.01499/0.8117, allocations: 4.481 MB / 0.8667 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.8119, allocations: 209.9 kB / 0.8669 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.8135, allocations: 0.9408 MB / 0.8678 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003989/0.814, allocations: 65.7 kB / 0.8679 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006987/0.8147, allocations: 0.731 MB / 0.8686 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009068/0.8156, allocations: 0.6853 MB / 0.8693 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.8159, allocations: 40 kB / 0.8693 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.8161, allocations: 373.9 kB / 0.8697 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004069/0.8202, allocations: 1.269 MB / 0.8709 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004395/0.8246, allocations: 1.442 MB / 0.8723 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/0.8289, allocations: 1.279 MB / 0.8736 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.8289, allocations: 4 kB / 0.8736 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0103/0.8392, allocations: 3.124 MB / 0.8766 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.8393, allocations: 8.062 kB / 0.8766 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.8393, allocations: 7.938 kB / 0.8766 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/0.8399, allocations: 96.72 kB / 0.8767 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.8438, allocations: 0.6084 MB / 0.8773 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.8459, allocations: 1.524 MB / 0.8788 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00327/0.8492, allocations: 382.8 kB / 0.8792 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005787/0.8498, allocations: 103.9 kB / 0.8793 GB, free: 7.762 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001588/0.8514, allocations: 436.7 kB / 0.8797 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006759/0.8521, allocations: 150.1 kB / 0.8798 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/0.8643, allocations: 3.755 MB / 0.8835 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/0.8643, allocations: 24 kB / 0.8835 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.8643, allocations: 0 / 0.8835 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/0.8644, allocations: 15.89 kB / 0.8835 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003868/0.8683, allocations: 2.452 MB / 0.8859 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.707e-05/0.8683, allocations: 3.984 kB / 0.8859 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00364/0.872, allocations: 0.5656 MB / 0.8865 GB, free: 296 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005397/0.8725, allocations: 84.78 kB / 0.8866 GB, free: 208 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000416/0.873, allocations: 79.84 kB / 0.8866 GB, free: 128 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.8748, allocations: 1.556 MB / 0.8882 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.8749, allocations: 0 / 0.8882 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.8853, allocations: 3.222 MB / 0.8913 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.8867, allocations: 0.5723 MB / 0.8919 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005797/0.8873, allocations: 48.06 kB / 0.8919 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/0.8902, allocations: 293.1 kB / 0.8922 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.8906, allocations: 149.8 kB / 0.8923 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003154/0.8909, allocations: 95.91 kB / 0.8924 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001242/0.8921, allocations: 0.6957 MB / 0.8931 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8922, allocations: 0 / 0.8931 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002161/0.8943, allocations: 0.6388 MB / 0.8937 GB, free: 8.676 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001725/0.8961, allocations: 0.642 MB / 0.8944 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.009632/0.9057, allocations: 3.182 MB / 0.8975 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/0.9058, allocations: 0 / 0.8975 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005102/0.9109, allocations: 1.759 MB / 0.8992 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.9132, allocations: 335.5 kB / 0.8995 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.9249, allocations: 5.105 MB / 0.9045 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.9263, allocations: 1.422 MB / 0.9059 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004543/0.9309, allocations: 0.5675 MB / 0.9064 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/0.9323, allocations: 243.2 kB / 0.9067 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of SimCode: time 1.703e-06/0.9323, allocations: 0 / 0.9067 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of Templates: time 0.04808/0.9804, allocations: 27.92 MB / 0.9339 GB, free: 15.77 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)