Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001551/0.001551, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 207.5 kB / 16.79 MB, free: 6.84 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.464/1.464, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.859/0.859, allocations: 126.7 MB / 417.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 72.69 kB / 0.4951 GB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1709, allocations: 78.87 MB / 0.5721 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008169/0.1792, allocations: 5.942 MB / 0.5779 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.499/0.6782, allocations: 148.5 MB / 0.7229 GB, free: 5.523 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008653/0.6791, allocations: 23.88 kB / 0.7229 GB, free: 5.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006754/0.6798, allocations: 186.3 kB / 0.7231 GB, free: 5.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.6816, allocations: 0.5249 MB / 0.7236 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.6835, allocations: 0.7577 MB / 0.7244 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.6853, allocations: 1.545 MB / 0.7259 GB, free: 2.531 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.6866, allocations: 0.8414 MB / 0.7267 GB, free: 1.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009807/0.6876, allocations: 0.5369 MB / 0.7272 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008244/0.6884, allocations: 0.6227 MB / 0.7278 GB, free: 500 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.6886, allocations: 88 kB / 0.7279 GB, free: 412 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.6897, allocations: 424.3 kB / 0.7283 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.69, allocations: 314.7 kB / 0.7286 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007237/0.6908, allocations: 0.6682 MB / 0.7293 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.6929, allocations: 1.924 MB / 0.7311 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6929, allocations: 0 / 0.7311 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6929, allocations: 3.75 kB / 0.7312 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.6929, allocations: 0 / 0.7312 GB, free: 13.08 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003276/0.6962, allocations: 1.724 MB / 0.7328 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.6963, allocations: 12.03 kB / 0.7328 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.6973, allocations: 219 kB / 0.7331 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.6985, allocations: 0.8446 MB / 0.7339 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.213e-05/0.6986, allocations: 94.39 kB / 0.734 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.6988, allocations: 116 kB / 0.7341 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.701, allocations: 1.202 MB / 0.7353 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.701, allocations: 0 / 0.7353 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.7012, allocations: 52 kB / 0.7353 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.7012, allocations: 28 kB / 0.7353 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.7034, allocations: 1.289 MB / 0.7366 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005492/0.7089, allocations: 3.729 MB / 0.7402 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.7106, allocations: 0.8676 MB / 0.7411 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005974/0.7112, allocations: 318.7 kB / 0.7414 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.392e-05/0.7113, allocations: 32.72 kB / 0.7414 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.7123, allocations: 0.5245 MB / 0.7419 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=87): time 2.054e-06/0.7124, allocations: 4 kB / 0.7419 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87): time 0.003473/0.7158, allocations: 1.274 MB / 0.7432 GB, free: 344 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.716, allocations: 196.9 kB / 0.7434 GB, free: 104 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00099/0.717, allocations: 0.7313 MB / 0.7441 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/0.7171, allocations: 45.7 kB / 0.7441 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.7175, allocations: 0.5154 MB / 0.7446 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.7178, allocations: 287.9 kB / 0.7449 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.7181, allocations: 170.5 kB / 0.7451 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.7182, allocations: 345.9 kB / 0.7454 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/0.7188, allocations: 293.8 kB / 0.7457 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007212/0.7196, allocations: 391.1 kB / 0.746 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.7208, allocations: 0.6555 MB / 0.7467 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.7209, allocations: 4 kB / 0.7467 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002202/0.7231, allocations: 0.9214 MB / 0.7476 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.7231, allocations: 8 kB / 0.7476 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7231, allocations: 0 / 0.7476 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006382/0.7238, allocations: 88.69 kB / 0.7477 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.7245, allocations: 178.1 kB / 0.7478 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.7269, allocations: 1.528 MB / 0.7493 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008611/0.7278, allocations: 107.2 kB / 0.7494 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-05/0.7279, allocations: 43.97 kB / 0.7495 GB, free: 9.621 MB / 0.5762 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.0005452/0.7285, allocations: 291.4 kB / 0.7498 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.7287, allocations: 98.72 kB / 0.7499 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/0.7313, allocations: 1.13 MB / 0.751 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.7313, allocations: 12 kB / 0.751 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.7314, allocations: 0 / 0.751 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.7314, allocations: 3.984 kB / 0.751 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.7328, allocations: 1.048 MB / 0.752 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7329, allocations: 0 / 0.752 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006643/0.7335, allocations: 155.8 kB / 0.7521 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005267/0.7341, allocations: 92.64 kB / 0.7522 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/0.7341, allocations: 23.98 kB / 0.7523 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.7362, allocations: 1.548 MB / 0.7538 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.7362, allocations: 4.031 kB / 0.7538 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.7384, allocations: 0.9785 MB / 0.7547 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.7388, allocations: 294.7 kB / 0.755 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.739, allocations: 16 kB / 0.755 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006944/0.7397, allocations: 71.98 kB / 0.7551 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.7399, allocations: 81.03 kB / 0.7552 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.7399, allocations: 35.97 kB / 0.7552 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007253/0.7407, allocations: 0.5107 MB / 0.7557 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7407, allocations: 0 / 0.7557 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001021/0.7417, allocations: 390.8 kB / 0.7561 GB, free: 2.629 MB / 0.5762 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.001996/0.7437, allocations: 0.6142 MB / 0.7567 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.7457, allocations: 0.8827 MB / 0.7575 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.7457, allocations: 0 / 0.7575 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.7467, allocations: 0.5354 MB / 0.7581 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.7481, allocations: 297.8 kB / 0.7583 GB, free: 468 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.7522, allocations: 2.539 MB / 0.7608 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008119/0.7531, allocations: 1.11 MB / 0.7619 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001044/0.7541, allocations: 303.5 kB / 0.7622 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.7544, allocations: 103.4 kB / 0.7623 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.7544, allocations: 0 / 0.7623 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of Templates: time 0.03044/0.7849, allocations: 15.71 MB / 0.7776 GB, free: 12.84 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)