Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 102.9 kB / 16.37 MB, free: 6.441 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.001782/0.001782, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.568/1.568, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002168, allocations: 285.2 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.145/1.145, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 90.8 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2326, allocations: 86.98 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007361/0.24, allocations: 4.739 MB / 0.6862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7124/0.9525, allocations: 150.7 MB / 0.8334 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.9548, allocations: 19.88 kB / 0.8334 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.9564, allocations: 198.1 kB / 0.8336 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003956/0.9604, allocations: 0.5268 MB / 0.8341 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004388/0.9649, allocations: 0.8634 MB / 0.835 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003867/0.9687, allocations: 1.452 MB / 0.8364 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/0.9707, allocations: 0.9205 MB / 0.8373 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.9721, allocations: 0.576 MB / 0.8378 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009546/0.9731, allocations: 0.6377 MB / 0.8385 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.9733, allocations: 152 kB / 0.8386 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.9748, allocations: 0.5036 MB / 0.8391 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004335/0.9752, allocations: 382.7 kB / 0.8395 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008245/0.9761, allocations: 0.6878 MB / 0.8401 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003278/0.9794, allocations: 1.961 MB / 0.842 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.9794, allocations: 0 / 0.842 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.456e-06/0.9794, allocations: 0 / 0.842 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.163e-05/0.9794, allocations: 4 kB / 0.8421 GB, free: 9.98 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003648/0.9831, allocations: 1.682 MB / 0.8437 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.9832, allocations: 8.031 kB / 0.8437 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.9843, allocations: 227 kB / 0.8439 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.9859, allocations: 0.8642 MB / 0.8448 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.986, allocations: 98.14 kB / 0.8449 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.9862, allocations: 112 kB / 0.845 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.9884, allocations: 1.203 MB / 0.8461 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.9885, allocations: 3.938 kB / 0.8461 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.9886, allocations: 52 kB / 0.8462 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.9886, allocations: 31.98 kB / 0.8462 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.991, allocations: 1.285 MB / 0.8475 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006106/0.9971, allocations: 3.106 MB / 0.8505 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.9989, allocations: 0.8708 MB / 0.8514 GB, free: 204 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005846/0.9995, allocations: 326.6 kB / 0.8517 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.9996, allocations: 32.61 kB / 0.8517 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009727/1.001, allocations: 0.5159 MB / 0.8522 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=87): time 3.246e-06/1.001, allocations: 0 / 0.8522 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=87): time 0.003752/1.004, allocations: 1.274 MB / 0.8535 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/1.005, allocations: 196.9 kB / 0.8536 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/1.006, allocations: 0.7313 MB / 0.8544 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-05/1.006, allocations: 45.7 kB / 0.8544 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005626/1.006, allocations: 0.5153 MB / 0.8549 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000295/1.007, allocations: 283.9 kB / 0.8552 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/1.007, allocations: 178.5 kB / 0.8553 GB, free: 12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.007, allocations: 345.9 kB / 0.8557 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005716/1.008, allocations: 285.8 kB / 0.8559 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/1.009, allocations: 391.1 kB / 0.8563 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/1.01, allocations: 0.6555 MB / 0.857 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/1.01, allocations: 0 / 0.857 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002336/1.012, allocations: 0.9228 MB / 0.8579 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/1.012, allocations: 4 kB / 0.8579 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.012, allocations: 4 kB / 0.8579 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/1.013, allocations: 88.8 kB / 0.858 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007389/1.014, allocations: 175.7 kB / 0.8581 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/1.016, allocations: 1.62 MB / 0.8597 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000997/1.017, allocations: 109.6 kB / 0.8598 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.104e-05/1.017, allocations: 36.98 kB / 0.8598 GB, free: 7.207 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0006812/1.018, allocations: 303.5 kB / 0.8601 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/1.018, allocations: 94.78 kB / 0.8602 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/1.021, allocations: 1.115 MB / 0.8613 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/1.021, allocations: 15.98 kB / 0.8613 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.021, allocations: 4.047 kB / 0.8613 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.021, allocations: 7.922 kB / 0.8613 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/1.022, allocations: 1.059 MB / 0.8624 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.022, allocations: 0 / 0.8624 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/1.023, allocations: 151.8 kB / 0.8625 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004734/1.023, allocations: 72.78 kB / 0.8626 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/1.024, allocations: 27.98 kB / 0.8626 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/1.026, allocations: 1.658 MB / 0.8642 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.026, allocations: 3.938 kB / 0.8642 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/1.028, allocations: 0.9863 MB / 0.8652 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000548/1.029, allocations: 291.4 kB / 0.8655 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/1.029, allocations: 23.98 kB / 0.8655 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006123/1.029, allocations: 63.94 kB / 0.8656 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/1.03, allocations: 72.83 kB / 0.8656 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.95e-05/1.03, allocations: 39.98 kB / 0.8657 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008206/1.031, allocations: 0.5146 MB / 0.8662 GB, free: 480 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/1.031, allocations: 0 / 0.8662 GB, free: 480 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001182/1.032, allocations: 366.8 kB / 0.8665 GB, free: 112 kB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001679/1.033, allocations: 0.5882 MB / 0.8671 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002172/1.036, allocations: 0.8944 MB / 0.868 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.036, allocations: 0 / 0.868 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/1.037, allocations: 0.5472 MB / 0.8685 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/1.038, allocations: 307.6 kB / 0.8688 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/1.043, allocations: 2.058 MB / 0.8708 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009506/1.044, allocations: 1.113 MB / 0.8719 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001176/1.045, allocations: 279.4 kB / 0.8722 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/1.046, allocations: 115.4 kB / 0.8723 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of SimCode: time 1.953e-06/1.046, allocations: 0 / 0.8723 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of Templates: time 0.037/1.083, allocations: 15.58 MB / 0.8875 GB, free: 10.96 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)