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.001398/0.001398, allocations: 103.2 kB / 16.41 MB, free: 6.504 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.001372/0.001372, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.549/1.549, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002537/0.002537, allocations: 284.8 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 1.041/1.041, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 99.83 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6529/0.6552, allocations: 86.97 MB / 0.767 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01008/0.6654, allocations: 6.473 MB / 0.7733 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2045/0.8699, allocations: 151.6 MB / 0.9214 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.8717, allocations: 23.88 kB / 0.9214 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00087/0.8726, allocations: 265.3 kB / 0.9217 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.8756, allocations: 0.6843 MB / 0.9224 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.879, allocations: 1.369 MB / 0.9237 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00362/0.8826, allocations: 2.664 MB / 0.9263 GB, free: 80 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.885, allocations: 1.6 MB / 0.9279 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.8871, allocations: 1.156 MB / 0.929 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.8895, allocations: 1.296 MB / 0.9302 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.8905, allocations: 328 kB / 0.9306 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.8926, allocations: 0.7027 MB / 0.9312 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007209/0.8934, allocations: 0.6932 MB / 0.9319 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.8948, allocations: 1.267 MB / 0.9332 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004477/0.8993, allocations: 3.566 MB / 0.9366 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8993, allocations: 0 / 0.9366 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.464e-06/0.8993, allocations: 0 / 0.9366 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.392e-05/0.8994, allocations: 0 / 0.9366 GB, free: 5.383 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.00694/0.9063, allocations: 2.78 MB / 0.9394 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.9064, allocations: 12.03 kB / 0.9394 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/0.9215, allocations: 2.108 MB / 0.9414 GB, free: 412 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003766/0.9253, allocations: 1.282 MB / 0.9427 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.9255, allocations: 168.5 kB / 0.9428 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005559/0.9261, allocations: 223.9 kB / 0.9431 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.9363, allocations: 3.282 MB / 0.9463 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.233e-05/0.9363, allocations: 0 / 0.9463 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003146/0.9367, allocations: 96 kB / 0.9463 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.792e-05/0.9368, allocations: 56 kB / 0.9464 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.9499, allocations: 4.209 MB / 0.9505 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5234/1.473, allocations: 7.21 MB / 0.9576 GB, free: 184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/1.485, allocations: 2.885 MB / 0.9604 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005054/1.49, allocations: 1.492 MB / 0.9618 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007971/1.491, allocations: 0.5017 MB / 0.9623 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005847/1.497, allocations: 1.845 MB / 0.9641 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 7.314e-06/1.497, allocations: 3.656 kB / 0.9641 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.01528/1.512, allocations: 4.465 MB / 0.9685 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/1.512, allocations: 203.6 kB / 0.9687 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/1.514, allocations: 0.9483 MB / 0.9696 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003134/1.514, allocations: 61.39 kB / 0.9697 GB, free: 180 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/1.514, allocations: 0.7479 MB / 0.9704 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00051/1.515, allocations: 0.6848 MB / 0.9711 GB, free: 179 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000637/1.516, allocations: 389.9 kB / 0.9714 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.297e-05/1.516, allocations: 308.8 kB / 0.9717 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/1.519, allocations: 1.254 MB / 0.973 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004051/1.523, allocations: 1.438 MB / 0.9744 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008147/1.532, allocations: 2.602 MB / 0.9769 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/1.532, allocations: 7.656 kB / 0.9769 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.00965/1.541, allocations: 3.117 MB / 0.9799 GB, free: 173 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/1.541, allocations: 4 kB / 0.98 GB, free: 173 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.541, allocations: 0 / 0.98 GB, free: 173 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/1.542, allocations: 88.84 kB / 0.98 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003691/1.546, allocations: 0.6006 MB / 0.9806 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/1.548, allocations: 1.641 MB / 0.9822 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00361/1.551, allocations: 362.1 kB / 0.9826 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004918/1.552, allocations: 95.89 kB / 0.9827 GB, free: 170 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.001233/1.553, allocations: 443.4 kB / 0.9831 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/1.554, allocations: 154.1 kB / 0.9832 GB, free: 169.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.564, allocations: 3.717 MB / 0.9869 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/1.564, allocations: 20 kB / 0.9869 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.564, allocations: 1.969 kB / 0.9869 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/1.564, allocations: 17.27 kB / 0.9869 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/1.567, allocations: 2.456 MB / 0.9893 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/1.567, allocations: 3.984 kB / 0.9893 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003325/1.571, allocations: 0.5578 MB / 0.9898 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004728/1.571, allocations: 76.78 kB / 0.9899 GB, free: 162.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002878/1.571, allocations: 71.92 kB / 0.99 GB, free: 162.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/1.573, allocations: 1.658 MB / 0.9916 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.573, allocations: 8 kB / 0.9916 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009513/1.582, allocations: 3.203 MB / 0.9947 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.584, allocations: 0.5554 MB / 0.9953 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003575/1.584, allocations: 51.89 kB / 0.9953 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/1.587, allocations: 267.6 kB / 0.9956 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/1.587, allocations: 149.8 kB / 0.9957 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.587, allocations: 95.91 kB / 0.9958 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008893/1.588, allocations: 0.6997 MB / 0.9965 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.588, allocations: 0 / 0.9965 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001699/1.59, allocations: 0.6401 MB / 0.9971 GB, free: 155.1 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.001499/1.591, allocations: 0.658 MB / 0.9978 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009293/1.601, allocations: 3.165 MB / 1.001 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.601, allocations: 0 / 1.001 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004718/1.606, allocations: 1.755 MB / 1.003 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/1.607, allocations: 370.1 kB / 1.003 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009099/1.617, allocations: 4.227 MB / 1.007 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/1.617, allocations: 1.426 MB / 1.008 GB, free: 143.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/1.619, allocations: 287.1 kB / 1.009 GB, free: 143.4 MB / 0.7169 GB Notification: Performance of SimCode: time 1.232e-06/1.619, allocations: 0 / 1.009 GB, free: 143.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.04992/1.669, allocations: 42.14 MB / 1.05 GB, free: 101.3 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)