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.007821/0.007821, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001401/0.001401, allocations: 193.1 kB / 16.67 MB, free: 5.969 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002298/0.002297, allocations: 292.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.999/0.999, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002108, allocations: 87.86 kB / 0.6814 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5346/0.5367, allocations: 86.98 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006555/0.5433, allocations: 4.731 MB / 0.771 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1804/0.7238, allocations: 150.7 MB / 0.9182 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.7253, allocations: 19.94 kB / 0.9182 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.7264, allocations: 198.1 kB / 0.9184 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.7296, allocations: 0.5234 MB / 0.9189 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.733, allocations: 0.8557 MB / 0.9197 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002746/0.7357, allocations: 1.448 MB / 0.9211 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.7374, allocations: 0.9274 MB / 0.922 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009958/0.7384, allocations: 0.5838 MB / 0.9226 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007351/0.7391, allocations: 0.6261 MB / 0.9232 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.7394, allocations: 156 kB / 0.9234 GB, free: 2.496 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.7406, allocations: 0.5152 MB / 0.9239 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003936/0.741, allocations: 378.8 kB / 0.9242 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000721/0.7418, allocations: 0.6955 MB / 0.9249 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.7443, allocations: 1.971 MB / 0.9268 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7444, allocations: 0 / 0.9268 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7444, allocations: 0 / 0.9268 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.7444, allocations: 0 / 0.9268 GB, free: 14.94 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002978/0.7474, allocations: 1.734 MB / 0.9285 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.7474, allocations: 8.031 kB / 0.9285 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.7485, allocations: 227.8 kB / 0.9287 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.7498, allocations: 0.8762 MB / 0.9296 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.781e-05/0.7499, allocations: 86.41 kB / 0.9297 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.7501, allocations: 116 kB / 0.9298 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.7521, allocations: 1.202 MB / 0.931 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.7522, allocations: 4 kB / 0.931 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.7523, allocations: 51.98 kB / 0.931 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.7523, allocations: 32 kB / 0.9311 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.7544, allocations: 1.277 MB / 0.9323 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004817/0.7592, allocations: 3.134 MB / 0.9354 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.7608, allocations: 0.8556 MB / 0.9362 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.7613, allocations: 326.7 kB / 0.9365 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.841e-05/0.7614, allocations: 40.53 kB / 0.9365 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008984/0.7623, allocations: 0.5135 MB / 0.937 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=87): time 3.006e-06/0.7624, allocations: 0 / 0.937 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.003349/0.7657, allocations: 1.283 MB / 0.9383 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.7659, allocations: 192.9 kB / 0.9385 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.7669, allocations: 0.743 MB / 0.9392 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-05/0.767, allocations: 41.7 kB / 0.9393 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.7674, allocations: 0.5282 MB / 0.9398 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.7677, allocations: 293.5 kB / 0.94 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.768, allocations: 178.6 kB / 0.9402 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7681, allocations: 337.9 kB / 0.9405 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005632/0.7687, allocations: 289.8 kB / 0.9408 GB, free: 240 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.7694, allocations: 387.1 kB / 0.9412 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.7706, allocations: 0.6594 MB / 0.9418 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7706, allocations: 0 / 0.9418 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002121/0.7727, allocations: 0.9272 MB / 0.9427 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.7728, allocations: 11.92 kB / 0.9427 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.7728, allocations: 3.938 kB / 0.9427 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/0.7734, allocations: 76.88 kB / 0.9428 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.7741, allocations: 175.8 kB / 0.943 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.7762, allocations: 1.623 MB / 0.9446 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/0.7771, allocations: 103.3 kB / 0.9447 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/0.7772, allocations: 48.03 kB / 0.9447 GB, free: 12.05 MB / 0.7169 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.0005841/0.7778, allocations: 302 kB / 0.945 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.7779, allocations: 95.39 kB / 0.9451 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.7804, allocations: 1.122 MB / 0.9462 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.7804, allocations: 15.94 kB / 0.9462 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.7804, allocations: 0 / 0.9462 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.7805, allocations: 3.984 kB / 0.9462 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.7818, allocations: 1.044 MB / 0.9472 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.7818, allocations: 0 / 0.9472 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.7824, allocations: 163.7 kB / 0.9474 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.7828, allocations: 72.78 kB / 0.9475 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.7829, allocations: 23.98 kB / 0.9475 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.7848, allocations: 1.666 MB / 0.9491 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7849, allocations: 0 / 0.9491 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.7869, allocations: 0.9946 MB / 0.9501 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004078/0.7873, allocations: 288.1 kB / 0.9504 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.7875, allocations: 28 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.7882, allocations: 58.59 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.7884, allocations: 76.83 kB / 0.9505 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.7884, allocations: 39.97 kB / 0.9505 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007842/0.7892, allocations: 0.5146 MB / 0.9511 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7892, allocations: 0 / 0.9511 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001025/0.7903, allocations: 370.8 kB / 0.9514 GB, free: 4.949 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: 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.001544/0.7918, allocations: 0.6075 MB / 0.952 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.7938, allocations: 0.8821 MB / 0.9529 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.7938, allocations: 4 kB / 0.9529 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.7948, allocations: 0.547 MB / 0.9534 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.7963, allocations: 304 kB / 0.9537 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005524/0.8019, allocations: 2.102 MB / 0.9557 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4235/1.225, allocations: 1.105 MB / 0.9568 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001257/1.227, allocations: 278.3 kB / 0.9571 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/1.227, allocations: 115 kB / 0.9572 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.463e-06/1.227, allocations: 0.5312 kB / 0.9572 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.02683/1.254, allocations: 15.77 MB / 0.9726 GB, free: 179.9 MB / 0.7169 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)