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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 111 kB / 17.33 MB, free: 5.043 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.001565/0.001565, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.361/1.361, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7957/0.7957, allocations: 128.4 MB / 426.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.84 kB / 0.5911 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1452, allocations: 83.26 MB / 0.6724 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01052/0.1558, allocations: 8.465 MB / 0.6807 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4733/0.6291, allocations: 152.3 MB / 0.8295 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.6305, allocations: 25.69 kB / 0.8295 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009729/0.6315, allocations: 323.7 kB / 0.8298 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.6342, allocations: 0.8619 MB / 0.8306 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00295/0.6371, allocations: 1.408 MB / 0.832 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003386/0.6405, allocations: 2.993 MB / 0.8349 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.642, allocations: 1.014 MB / 0.8359 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.6436, allocations: 1.207 MB / 0.8371 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.6452, allocations: 1.349 MB / 0.8384 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003661/0.6456, allocations: 324.9 kB / 0.8387 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.6467, allocations: 0.6998 MB / 0.8394 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005956/0.6473, allocations: 0.6932 MB / 0.8401 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.6486, allocations: 1.337 MB / 0.8414 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004142/0.6527, allocations: 3.682 MB / 0.845 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6527, allocations: 0 / 0.845 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6527, allocations: 0 / 0.845 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.949e-05/0.6528, allocations: 0 / 0.845 GB, free: 7.734 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.00674/0.6595, allocations: 2.895 MB / 0.8478 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.6596, allocations: 7.781 kB / 0.8478 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01493/0.6745, allocations: 2.131 MB / 0.8499 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/0.6772, allocations: 1.292 MB / 0.8512 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.6773, allocations: 167.6 kB / 0.8513 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004261/0.6778, allocations: 223.1 kB / 0.8515 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008712/0.6865, allocations: 3.274 MB / 0.8547 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/0.6865, allocations: 11.92 kB / 0.8548 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/0.6868, allocations: 92 kB / 0.8548 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.855e-05/0.6869, allocations: 56 kB / 0.8549 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/0.6995, allocations: 4.197 MB / 0.859 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01738/0.7169, allocations: 8.149 MB / 0.867 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008473/0.7253, allocations: 2.713 MB / 0.8696 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004174/0.7295, allocations: 1.356 MB / 0.8709 GB, free: 88 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008055/0.7303, allocations: 0.5074 MB / 0.8714 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005001/0.7353, allocations: 1.85 MB / 0.8732 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=213): time 3.797e-06/0.7353, allocations: 112 / 0.8732 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=213): time 0.01459/0.7499, allocations: 4.482 MB / 0.8776 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.75, allocations: 205.9 kB / 0.8778 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.7515, allocations: 0.9448 MB / 0.8787 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003081/0.7518, allocations: 73.69 kB / 0.8788 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006842/0.7525, allocations: 0.7523 MB / 0.8795 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007846/0.7533, allocations: 0.7126 MB / 0.8802 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000753/0.754, allocations: 399.3 kB / 0.8806 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7542, allocations: 301.1 kB / 0.8809 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004051/0.7582, allocations: 1.261 MB / 0.8821 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004273/0.7625, allocations: 1.434 MB / 0.8835 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008684/0.7712, allocations: 2.614 MB / 0.8861 GB, free: 304 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.7712, allocations: 0.75 kB / 0.8861 GB, free: 304 kB / 0.6387 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01097/0.7822, allocations: 3.133 MB / 0.8891 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.7822, allocations: 8 kB / 0.8891 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.7822, allocations: 0 / 0.8891 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006169/0.7828, allocations: 96.75 kB / 0.8892 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003877/0.7867, allocations: 0.5968 MB / 0.8898 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.7891, allocations: 1.634 MB / 0.8914 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003484/0.7926, allocations: 366.5 kB / 0.8918 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004347/0.793, allocations: 103.9 kB / 0.8919 GB, free: 10.21 MB / 0.6544 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.001204/0.7942, allocations: 449 kB / 0.8923 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004878/0.7947, allocations: 159 kB / 0.8924 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/0.8063, allocations: 3.715 MB / 0.8961 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/0.8064, allocations: 24 kB / 0.8961 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.8064, allocations: 0 / 0.8961 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.433e-05/0.8064, allocations: 15.94 kB / 0.8961 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.8101, allocations: 2.441 MB / 0.8985 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.8101, allocations: 0 / 0.8985 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003538/0.8136, allocations: 0.5617 MB / 0.899 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/0.8141, allocations: 76.72 kB / 0.8991 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002905/0.8144, allocations: 75.91 kB / 0.8992 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.8166, allocations: 1.666 MB / 0.9008 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8166, allocations: 0 / 0.9008 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/0.8271, allocations: 3.219 MB / 0.904 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.8283, allocations: 0.5499 MB / 0.9045 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004127/0.8287, allocations: 51.94 kB / 0.9045 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/0.8315, allocations: 268.8 kB / 0.9048 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/0.8319, allocations: 153.7 kB / 0.9049 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/0.8321, allocations: 91.91 kB / 0.905 GB, free: 12.45 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001089/0.8332, allocations: 0.6958 MB / 0.9057 GB, free: 11.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8332, allocations: 4 kB / 0.9057 GB, free: 11.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001988/0.8352, allocations: 0.6897 MB / 0.9064 GB, free: 11.05 MB / 0.67 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.002122/0.8373, allocations: 0.6597 MB / 0.907 GB, free: 10.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009728/0.8471, allocations: 3.038 MB / 0.91 GB, free: 7.523 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.8471, allocations: 0 / 0.91 GB, free: 7.523 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005047/0.8521, allocations: 1.618 MB / 0.9116 GB, free: 5.891 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.854, allocations: 392.6 kB / 0.912 GB, free: 5.527 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009495/0.8635, allocations: 4.143 MB / 0.916 GB, free: 1.344 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.8647, allocations: 1.43 MB / 0.9174 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003222/0.8679, allocations: 0.5756 MB / 0.918 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.869, allocations: 239.2 kB / 0.9182 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of SimCode: time 1.503e-06/0.869, allocations: 0 / 0.9182 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of Templates: time 0.06069/0.9297, allocations: 32.4 MB / 0.9498 GB, free: 14.85 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 660] (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) [Timeout 480]