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.001099/0.001098, allocations: 113.9 kB / 17.08 MB, free: 6.016 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.001039/0.001039, allocations: 197.8 kB / 18.02 MB, free: 5.094 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.225/1.225, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6949/0.6949, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 70.89 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1428, allocations: 76.18 MB / 0.6327 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009472/0.1524, allocations: 8.388 MB / 0.6409 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.488/0.6404, allocations: 151.8 MB / 0.7892 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.6422, allocations: 23.47 kB / 0.7892 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.6433, allocations: 326.2 kB / 0.7895 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.6461, allocations: 0.8534 MB / 0.7903 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.6491, allocations: 1.381 MB / 0.7917 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003739/0.6528, allocations: 2.998 MB / 0.7946 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.6549, allocations: 1.494 MB / 0.7961 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.6572, allocations: 1.202 MB / 0.7973 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002339/0.6595, allocations: 1.342 MB / 0.7986 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008642/0.6604, allocations: 327.9 kB / 0.7989 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.6622, allocations: 0.7088 MB / 0.7996 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005385/0.6627, allocations: 0.6925 MB / 0.8002 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.664, allocations: 1.335 MB / 0.8015 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.6677, allocations: 3.669 MB / 0.8051 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.6678, allocations: 0 / 0.8051 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6678, allocations: 0 / 0.8051 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.092e-05/0.6678, allocations: 0 / 0.8051 GB, free: 10.6 MB / 0.5919 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.005923/0.6738, allocations: 2.836 MB / 0.8079 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.6738, allocations: 9.531 kB / 0.8079 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/0.6885, allocations: 2.109 MB / 0.81 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/0.6912, allocations: 1.291 MB / 0.8112 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.6913, allocations: 167.4 kB / 0.8114 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000385/0.6917, allocations: 217.7 kB / 0.8116 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007944/0.6997, allocations: 3.281 MB / 0.8148 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.6997, allocations: 2.625 kB / 0.8148 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.7, allocations: 92.94 kB / 0.8149 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.7, allocations: 55.41 kB / 0.8149 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.7116, allocations: 4.203 MB / 0.8191 GB, free: 2.82 MB / 0.5919 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.01585/0.7275, allocations: 8.039 MB / 0.8269 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008425/0.7359, allocations: 2.885 MB / 0.8297 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004348/0.7403, allocations: 1.491 MB / 0.8312 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007257/0.741, allocations: 0.5075 MB / 0.8317 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004754/0.7458, allocations: 1.844 MB / 0.8335 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=213): time 4.288e-06/0.7458, allocations: 0 / 0.8335 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=213): time 0.01408/0.7599, allocations: 4.466 MB / 0.8378 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.7601, allocations: 205.9 kB / 0.838 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.7615, allocations: 0.9487 MB / 0.839 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.7617, allocations: 65.7 kB / 0.839 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005878/0.7623, allocations: 0.7413 MB / 0.8397 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006092/0.7629, allocations: 0.6843 MB / 0.8404 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007382/0.7636, allocations: 391.2 kB / 0.8408 GB, free: 116 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.7638, allocations: 305.1 kB / 0.8411 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004/0.7678, allocations: 1.261 MB / 0.8423 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004241/0.772, allocations: 1.434 MB / 0.8437 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008061/0.7801, allocations: 2.61 MB / 0.8463 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.7801, allocations: 1.25 kB / 0.8463 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009741/0.7899, allocations: 3.128 MB / 0.8493 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.7899, allocations: 5.875 kB / 0.8493 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7899, allocations: 4 kB / 0.8493 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005734/0.7905, allocations: 88.83 kB / 0.8494 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/0.794, allocations: 0.6006 MB / 0.85 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.7962, allocations: 1.635 MB / 0.8516 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.7993, allocations: 375.5 kB / 0.8519 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/0.7995, allocations: 103.9 kB / 0.852 GB, free: 4.379 MB / 0.6231 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.001013/0.8006, allocations: 440 kB / 0.8525 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/0.8011, allocations: 154 kB / 0.8526 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.8121, allocations: 3.712 MB / 0.8562 GB, free: 52 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.8121, allocations: 20 kB / 0.8563 GB, free: 32 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.8121, allocations: 4.109 kB / 0.8563 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.8122, allocations: 15.91 kB / 0.8563 GB, free: 12 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.8152, allocations: 2.437 MB / 0.8587 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.8152, allocations: 3.938 kB / 0.8587 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0034/0.8187, allocations: 0.5578 MB / 0.8592 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.8191, allocations: 84.72 kB / 0.8593 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.8193, allocations: 71.91 kB / 0.8594 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.8212, allocations: 1.665 MB / 0.861 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8212, allocations: 4.062 kB / 0.861 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009616/0.8308, allocations: 3.214 MB / 0.8641 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.8319, allocations: 0.5412 MB / 0.8646 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004062/0.8323, allocations: 51.88 kB / 0.8647 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/0.8351, allocations: 271.7 kB / 0.865 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/0.8354, allocations: 149.8 kB / 0.8651 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002173/0.8356, allocations: 95.91 kB / 0.8652 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009933/0.8366, allocations: 0.6996 MB / 0.8659 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8366, allocations: 0 / 0.8659 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001673/0.8383, allocations: 0.6778 MB / 0.8665 GB, free: 5.316 MB / 0.6387 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.001703/0.84, allocations: 0.6602 MB / 0.8672 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009132/0.8492, allocations: 3.167 MB / 0.8703 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.8492, allocations: 0 / 0.8703 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004634/0.8538, allocations: 1.77 MB / 0.872 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.8556, allocations: 396 kB / 0.8724 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008809/0.8644, allocations: 4.114 MB / 0.8764 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009568/0.8654, allocations: 1.422 MB / 0.8778 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/0.8668, allocations: 291.1 kB / 0.8781 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.8668, allocations: 0 / 0.8781 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of Templates: time 0.05068/0.9175, allocations: 42.72 MB / 0.9198 GB, free: 14.95 MB / 0.7012 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)