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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006288/0.006288, allocations: 100.5 kB / 15.87 MB, free: 6.312 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.001262/0.001263, allocations: 198.2 kB / 16.79 MB, free: 6.242 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7548/0.7548, allocations: 122.9 MB / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.22 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2069, allocations: 77.93 MB / 0.5665 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01065/0.2176, allocations: 8.331 MB / 0.5746 GB, free: 8.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5448/0.7624, allocations: 149.5 MB / 0.7206 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002554/0.765, allocations: 23.88 kB / 0.7207 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.7667, allocations: 235.7 kB / 0.7209 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.7708, allocations: 0.7245 MB / 0.7216 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003836/0.7747, allocations: 1.225 MB / 0.7228 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004719/0.7794, allocations: 2.787 MB / 0.7255 GB, free: 4.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.7817, allocations: 1.442 MB / 0.7269 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.7836, allocations: 1.02 MB / 0.7279 GB, free: 2.391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.7854, allocations: 1.225 MB / 0.7291 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003956/0.7859, allocations: 156 kB / 0.7293 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.7874, allocations: 0.5152 MB / 0.7298 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005997/0.788, allocations: 0.5292 MB / 0.7303 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.7895, allocations: 1.174 MB / 0.7314 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00408/0.7936, allocations: 3.456 MB / 0.7348 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7937, allocations: 0 / 0.7348 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7937, allocations: 4 kB / 0.7348 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001091/0.7938, allocations: 0 / 0.7348 GB, free: 11.32 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006968/0.8008, allocations: 2.832 MB / 0.7376 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.8008, allocations: 8.031 kB / 0.7376 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/0.8165, allocations: 2.108 MB / 0.7396 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.8194, allocations: 1.267 MB / 0.7409 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.8196, allocations: 168.5 kB / 0.741 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000444/0.82, allocations: 224 kB / 0.7413 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009145/0.8292, allocations: 3.274 MB / 0.7444 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.8292, allocations: 3.984 kB / 0.7445 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/0.8295, allocations: 96 kB / 0.7445 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/0.8296, allocations: 60 kB / 0.7446 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/0.8421, allocations: 4.197 MB / 0.7487 GB, free: 12.84 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01828/0.8605, allocations: 8.097 MB / 0.7566 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008635/0.8691, allocations: 2.876 MB / 0.7594 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004198/0.8733, allocations: 1.493 MB / 0.7609 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009159/0.8743, allocations: 0.5035 MB / 0.7614 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005237/0.8795, allocations: 1.848 MB / 0.7632 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=213): time 4.568e-06/0.8796, allocations: 0 / 0.7632 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=213): time 0.01468/0.8943, allocations: 4.47 MB / 0.7675 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.8944, allocations: 209.9 kB / 0.7677 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.8961, allocations: 0.9448 MB / 0.7687 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002167/0.8963, allocations: 65.7 kB / 0.7687 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006239/0.897, allocations: 0.731 MB / 0.7694 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006827/0.8977, allocations: 0.6892 MB / 0.7701 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007804/0.8985, allocations: 391.3 kB / 0.7705 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.8986, allocations: 309.1 kB / 0.7708 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003882/0.9025, allocations: 1.257 MB / 0.772 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004075/0.9065, allocations: 1.441 MB / 0.7734 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007777/0.9143, allocations: 2.612 MB / 0.776 GB, free: 388 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.9144, allocations: 3.75 kB / 0.776 GB, free: 388 kB / 0.5919 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009661/0.924, allocations: 3.12 MB / 0.779 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.9241, allocations: 4 kB / 0.779 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.9241, allocations: 4 kB / 0.779 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.9247, allocations: 92.77 kB / 0.7791 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003647/0.9284, allocations: 0.5968 MB / 0.7797 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.9308, allocations: 1.541 MB / 0.7812 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/0.9344, allocations: 378.9 kB / 0.7816 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000332/0.9347, allocations: 97.06 kB / 0.7816 GB, free: 10.4 MB / 0.6075 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.001378/0.9361, allocations: 454.2 kB / 0.7821 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005054/0.9366, allocations: 154.1 kB / 0.7822 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.9483, allocations: 3.712 MB / 0.7859 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.9484, allocations: 24 kB / 0.7859 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.9484, allocations: 3.938 kB / 0.7859 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.9484, allocations: 11.95 kB / 0.7859 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/0.9528, allocations: 2.456 MB / 0.7883 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.9528, allocations: 0 / 0.7883 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003533/0.9563, allocations: 0.5617 MB / 0.7888 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005426/0.9569, allocations: 84.78 kB / 0.7889 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/0.9572, allocations: 79.91 kB / 0.789 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.9591, allocations: 1.548 MB / 0.7905 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.9591, allocations: 4 kB / 0.7905 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/0.9692, allocations: 3.206 MB / 0.7936 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.9704, allocations: 0.549 MB / 0.7942 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003648/0.9708, allocations: 47.94 kB / 0.7942 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002843/0.9736, allocations: 279.7 kB / 0.7945 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003946/0.9741, allocations: 161.8 kB / 0.7946 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002571/0.9743, allocations: 91.91 kB / 0.7947 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001075/0.9754, allocations: 0.6958 MB / 0.7954 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9754, allocations: 0 / 0.7954 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001998/0.9774, allocations: 0.6778 MB / 0.7961 GB, free: 11.35 MB / 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: 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.001613/0.979, allocations: 0.6649 MB / 0.7967 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009553/0.9886, allocations: 3.159 MB / 0.7998 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.9886, allocations: 0 / 0.7998 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004849/0.9935, allocations: 1.755 MB / 0.8015 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.9957, allocations: 364.6 kB / 0.8019 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/1.006, allocations: 5.088 MB / 0.8068 GB, free: 460 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.007, allocations: 1.426 MB / 0.8082 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003676/1.011, allocations: 0.5717 MB / 0.8088 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.012, allocations: 235.2 kB / 0.809 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of SimCode: time 1.333e-06/1.012, allocations: 0 / 0.809 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of Templates: time 0.3661/1.378, allocations: 30.1 MB / 0.8384 GB, free: 212.5 MB / 0.6387 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)