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.001433/0.001433, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001513/0.001514, allocations: 187 kB / 17.34 MB, free: 5.762 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002321/0.002322, allocations: 284.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9905/0.9905, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002074, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5349, allocations: 86.98 MB / 0.767 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009119/0.5441, allocations: 6.478 MB / 0.7733 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1789/0.723, allocations: 151.6 MB / 0.9214 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.7245, allocations: 23.88 kB / 0.9214 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.7257, allocations: 261.3 kB / 0.9217 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.7289, allocations: 0.6932 MB / 0.9224 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.7324, allocations: 1.354 MB / 0.9237 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003908/0.7363, allocations: 2.668 MB / 0.9263 GB, free: 360 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/0.739, allocations: 1.596 MB / 0.9278 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.7413, allocations: 1.152 MB / 0.929 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.7435, allocations: 1.303 MB / 0.9302 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000951/0.7444, allocations: 324 kB / 0.9306 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.7463, allocations: 0.7027 MB / 0.9312 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.7474, allocations: 0.6932 MB / 0.9319 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.7495, allocations: 1.275 MB / 0.9332 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004783/0.7542, allocations: 3.558 MB / 0.9366 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7543, allocations: 0 / 0.9366 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7543, allocations: 0 / 0.9366 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001239/0.7544, allocations: 0 / 0.9366 GB, free: 5.66 MB / 0.7012 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.007941/0.7624, allocations: 2.784 MB / 0.9394 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.7624, allocations: 8.031 kB / 0.9394 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/0.7781, allocations: 2.108 MB / 0.9414 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.7815, allocations: 1.29 MB / 0.9427 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.7818, allocations: 168.5 kB / 0.9428 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008959/0.7827, allocations: 220 kB / 0.9431 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.7934, allocations: 3.278 MB / 0.9463 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.136e-05/0.7935, allocations: 4 kB / 0.9463 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007339/0.7943, allocations: 96 kB / 0.9464 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/0.7943, allocations: 52 kB / 0.9464 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.8081, allocations: 4.205 MB / 0.9505 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4654/1.274, allocations: 7.217 MB / 0.9576 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/1.284, allocations: 2.884 MB / 0.9604 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004515/1.289, allocations: 1.491 MB / 0.9618 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007174/1.29, allocations: 0.5064 MB / 0.9623 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005188/1.295, allocations: 1.847 MB / 0.9641 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 5.49e-06/1.295, allocations: 0 / 0.9641 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.01432/1.309, allocations: 4.465 MB / 0.9685 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/1.309, allocations: 205.3 kB / 0.9687 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/1.311, allocations: 0.9479 MB / 0.9696 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002257/1.311, allocations: 65.39 kB / 0.9697 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/1.311, allocations: 0.7378 MB / 0.9704 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005137/1.312, allocations: 0.6786 MB / 0.9711 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006592/1.312, allocations: 399 kB / 0.9714 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.376e-05/1.313, allocations: 301.1 kB / 0.9717 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/1.316, allocations: 1.263 MB / 0.973 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003798/1.32, allocations: 1.433 MB / 0.9744 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007281/1.327, allocations: 2.605 MB / 0.9769 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/1.327, allocations: 4 kB / 0.9769 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009065/1.336, allocations: 3.116 MB / 0.9799 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/1.336, allocations: 8 kB / 0.98 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.337, allocations: 0 / 0.98 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/1.337, allocations: 88.83 kB / 0.98 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003498/1.341, allocations: 0.6045 MB / 0.9806 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/1.343, allocations: 1.635 MB / 0.9822 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/1.346, allocations: 362.1 kB / 0.9826 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003693/1.346, allocations: 99.89 kB / 0.9827 GB, free: 170.5 MB / 0.7169 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * 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 (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.001155/1.347, allocations: 447.5 kB / 0.9831 GB, free: 170 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005134/1.348, allocations: 154 kB / 0.9832 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/1.358, allocations: 3.709 MB / 0.9869 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.358, allocations: 27.09 kB / 0.9869 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.358, allocations: 3.984 kB / 0.9869 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/1.358, allocations: 11.03 kB / 0.9869 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/1.361, allocations: 2.452 MB / 0.9893 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/1.361, allocations: 5.75 kB / 0.9893 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003187/1.364, allocations: 0.5578 MB / 0.9898 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004814/1.365, allocations: 76.78 kB / 0.9899 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002494/1.365, allocations: 75.91 kB / 0.99 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/1.367, allocations: 1.658 MB / 0.9916 GB, free: 161.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.367, allocations: 3.938 kB / 0.9916 GB, free: 161.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008736/1.375, allocations: 3.203 MB / 0.9947 GB, free: 158 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.377, allocations: 0.549 MB / 0.9953 GB, free: 157.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/1.377, allocations: 52 kB / 0.9953 GB, free: 157.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002794/1.38, allocations: 263.8 kB / 0.9956 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/1.38, allocations: 157.7 kB / 0.9957 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/1.38, allocations: 95.91 kB / 0.9958 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009855/1.381, allocations: 0.6958 MB / 0.9965 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/1.381, allocations: 4 kB / 0.9965 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001673/1.383, allocations: 0.6434 MB / 0.9971 GB, free: 155.5 MB / 0.7169 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 (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.001551/1.385, allocations: 0.6617 MB / 0.9978 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008575/1.393, allocations: 3.161 MB / 1.001 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.393, allocations: 3.516 kB / 1.001 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004474/1.398, allocations: 1.758 MB / 1.003 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/1.4, allocations: 364.9 kB / 1.003 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009499/1.409, allocations: 4.23 MB / 1.007 GB, free: 145.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009073/1.41, allocations: 1.426 MB / 1.008 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/1.412, allocations: 279.2 kB / 1.009 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/1.412, allocations: 0 / 1.009 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.04899/1.461, allocations: 41.84 MB / 1.05 GB, free: 102 MB / 0.7169 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)