Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4909/0.4909, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 349.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 93.2 kB / 420 MB, free: 8.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 55.91 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3244, allocations: 70.06 MB / 0.5575 GB, free: 44.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005965/0.3304, allocations: 6.006 MB / 0.5634 GB, free: 39.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1513/0.4818, allocations: 149.1 MB / 0.709 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.4831, allocations: 23.88 kB / 0.709 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007159/0.4839, allocations: 178.4 kB / 0.7092 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.4857, allocations: 0.5127 MB / 0.7097 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.2838/0.7695, allocations: 1.132 MB / 0.7108 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002852/0.7724, allocations: 2.254 MB / 0.713 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/0.7749, allocations: 1.545 MB / 0.7145 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.7769, allocations: 0.8952 MB / 0.7153 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.7791, allocations: 1.086 MB / 0.7164 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004522/0.7795, allocations: 155.2 kB / 0.7166 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.7806, allocations: 0.5033 MB / 0.717 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004139/0.7811, allocations: 0.4948 MB / 0.7175 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.7821, allocations: 1.031 MB / 0.7185 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.7846, allocations: 3.096 MB / 0.7216 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7846, allocations: 0 / 0.7216 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7846, allocations: 0 / 0.7216 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.946e-05/0.7847, allocations: 0 / 0.7216 GB, free: 1.305 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004645/0.7893, allocations: 2.589 MB / 0.7241 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.7894, allocations: 10.75 kB / 0.7241 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/0.8034, allocations: 2.092 MB / 0.7261 GB, free: 16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.806, allocations: 1.191 MB / 0.7273 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.441e-05/0.8061, allocations: 168.1 kB / 0.7275 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005036/0.8066, allocations: 205 kB / 0.7277 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008845/0.8155, allocations: 3.16 MB / 0.7307 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.8155, allocations: 0 / 0.7307 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.8158, allocations: 89.16 kB / 0.7308 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.8158, allocations: 55.19 kB / 0.7309 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/0.828, allocations: 4.096 MB / 0.7349 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01672/0.8447, allocations: 7.008 MB / 0.7417 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00836/0.8531, allocations: 2.689 MB / 0.7444 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004214/0.8574, allocations: 1.431 MB / 0.7458 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008146/0.8582, allocations: 0.5034 MB / 0.7462 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005129/0.8634, allocations: 1.696 MB / 0.7479 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=195): time 5.801e-06/0.8634, allocations: 0 / 0.7479 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=195): time 0.01458/0.878, allocations: 4.199 MB / 0.752 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.8781, allocations: 202.7 kB / 0.7522 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.8796, allocations: 0.8703 MB / 0.753 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003249/0.8799, allocations: 58.55 kB / 0.7531 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000701/0.8806, allocations: 0.6997 MB / 0.7538 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/0.8814, allocations: 0.6308 MB / 0.7544 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007739/0.8822, allocations: 366.8 kB / 0.7548 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.8823, allocations: 301.1 kB / 0.755 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/0.8863, allocations: 1.186 MB / 0.7562 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004321/0.8906, allocations: 1.364 MB / 0.7575 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00855/0.8992, allocations: 2.495 MB / 0.76 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.8992, allocations: 0 / 0.76 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.0103/0.9096, allocations: 2.952 MB / 0.7628 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.9096, allocations: 5.438 kB / 0.7629 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.9096, allocations: 1.844 kB / 0.7629 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005968/0.9102, allocations: 85.91 kB / 0.7629 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003836/0.9141, allocations: 0.5735 MB / 0.7635 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.9161, allocations: 1.527 MB / 0.765 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/0.9197, allocations: 343.7 kB / 0.7653 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006032/0.9203, allocations: 91.89 kB / 0.7654 GB, free: 5.438 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 214 * 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.001348/0.9217, allocations: 406.3 kB / 0.7658 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005151/0.9222, allocations: 142.3 kB / 0.7659 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/0.9334, allocations: 3.479 MB / 0.7693 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/0.9335, allocations: 24 kB / 0.7693 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.9335, allocations: 3.859 kB / 0.7693 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.9335, allocations: 11.91 kB / 0.7694 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.9475, allocations: 5.749 MB / 0.775 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.9476, allocations: 3.938 kB / 0.775 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003459/0.9511, allocations: 0.543 MB / 0.7755 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005368/0.9516, allocations: 84.78 kB / 0.7756 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002203/0.9518, allocations: 63.92 kB / 0.7757 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.9536, allocations: 1.56 MB / 0.7772 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.9536, allocations: 0 / 0.7772 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/0.9685, allocations: 5.393 MB / 0.7824 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/0.9701, allocations: 0.4985 MB / 0.7829 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000353/0.9705, allocations: 43.88 kB / 0.783 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/0.9732, allocations: 251.7 kB / 0.7832 GB, free: 3.012 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002871/0.9735, allocations: 125.8 kB / 0.7833 GB, free: 2.891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/0.9737, allocations: 83.92 kB / 0.7834 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009326/0.9746, allocations: 0.6388 MB / 0.784 GB, free: 2.16 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9746, allocations: 0 / 0.784 GB, free: 2.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002001/0.9766, allocations: 0.6075 MB / 0.7846 GB, free: 1.551 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001475/0.9781, allocations: 0.6439 MB / 0.7853 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009819/0.988, allocations: 2.978 MB / 0.7882 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.988, allocations: 6.844 kB / 0.7882 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00485/0.9929, allocations: 1.66 MB / 0.7898 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.9947, allocations: 329.1 kB / 0.7901 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/1.006, allocations: 5.827 MB / 0.7958 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.008, allocations: 1.427 MB / 0.7972 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003675/1.011, allocations: 0.5506 MB / 0.7977 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009738/1.012, allocations: 219.2 kB / 0.7979 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of SimCode: time 6.62e-07/1.012, allocations: 0 / 0.7979 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of Templates: time 0.0451/1.057, allocations: 27.76 MB / 0.825 GB, free: 8.617 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)