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.001601/0.001602, allocations: 110.2 kB / 16.64 MB, free: 6.371 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.001853/0.001853, allocations: 197.3 kB / 17.56 MB, free: 5.797 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.387/1.387, allocations: 222.9 MB / 241.3 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7577/0.7577, allocations: 122.8 MB / 414.2 MB, free: 60 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 63.89 kB / 0.4912 GB, free: 7.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4026, allocations: 77.91 MB / 0.5673 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007245/0.4099, allocations: 5.942 MB / 0.5731 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1713/0.5812, allocations: 148.6 MB / 0.7182 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.583, allocations: 19.94 kB / 0.7183 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.5843, allocations: 182.5 kB / 0.7184 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003497/0.5879, allocations: 0.5537 MB / 0.719 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.5909, allocations: 0.7772 MB / 0.7197 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002676/0.5936, allocations: 1.646 MB / 0.7213 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.5951, allocations: 0.8695 MB / 0.7222 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.5962, allocations: 0.6111 MB / 0.7228 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.5974, allocations: 0.6612 MB / 0.7234 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000454/0.5978, allocations: 152 kB / 0.7236 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.5992, allocations: 0.4957 MB / 0.7241 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005024/0.5997, allocations: 370.8 kB / 0.7244 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.6008, allocations: 0.7424 MB / 0.7251 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.6028, allocations: 1.512 MB / 0.7266 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.6029, allocations: 0 / 0.7266 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.276e-06/0.6029, allocations: 0 / 0.7266 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.45e-05/0.6029, allocations: 4 kB / 0.7266 GB, free: 7.328 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.003195/0.6061, allocations: 1.72 MB / 0.7283 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.6062, allocations: 8.625 kB / 0.7283 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.6072, allocations: 223.1 kB / 0.7285 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.6084, allocations: 0.8481 MB / 0.7293 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.519e-05/0.6085, allocations: 90.41 kB / 0.7294 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.6086, allocations: 112 kB / 0.7295 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.6106, allocations: 1.206 MB / 0.7307 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.6106, allocations: 0 / 0.7307 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.6108, allocations: 52 kB / 0.7308 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.6108, allocations: 28 kB / 0.7308 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.6128, allocations: 1.285 MB / 0.732 GB, free: 1.598 MB / 0.5606 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.005413/0.6182, allocations: 3.584 MB / 0.7355 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.6198, allocations: 0.8641 MB / 0.7364 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005666/0.6204, allocations: 326.7 kB / 0.7367 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.6205, allocations: 32.61 kB / 0.7367 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.6216, allocations: 0.5198 MB / 0.7372 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 2.675e-06/0.6216, allocations: 0 / 0.7372 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.00344/0.625, allocations: 1.27 MB / 0.7385 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.6252, allocations: 196.9 kB / 0.7387 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.6262, allocations: 0.7468 MB / 0.7394 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.35e-05/0.6263, allocations: 45.7 kB / 0.7394 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/0.6267, allocations: 0.5114 MB / 0.7399 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.627, allocations: 279.9 kB / 0.7402 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.6273, allocations: 174.5 kB / 0.7404 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6274, allocations: 345.9 kB / 0.7407 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/0.628, allocations: 289.8 kB / 0.741 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006779/0.6286, allocations: 391.1 kB / 0.7414 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.6298, allocations: 0.6633 MB / 0.742 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.6299, allocations: 0 / 0.742 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002166/0.632, allocations: 0.9189 MB / 0.7429 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.6321, allocations: 7.938 kB / 0.7429 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6321, allocations: 3.938 kB / 0.7429 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006527/0.6327, allocations: 84.86 kB / 0.743 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.6335, allocations: 171.8 kB / 0.7432 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.6359, allocations: 1.646 MB / 0.7448 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009551/0.6368, allocations: 107.2 kB / 0.7449 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.637, allocations: 43.97 kB / 0.7449 GB, free: 3.934 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.0005843/0.6376, allocations: 291.4 kB / 0.7452 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.6378, allocations: 94.89 kB / 0.7453 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.6404, allocations: 1.133 MB / 0.7464 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.6404, allocations: 15.94 kB / 0.7464 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6404, allocations: 0 / 0.7464 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.6405, allocations: 7.984 kB / 0.7464 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.6419, allocations: 1.052 MB / 0.7474 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.6419, allocations: 0 / 0.7474 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006323/0.6426, allocations: 159.7 kB / 0.7476 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/0.6431, allocations: 72.78 kB / 0.7477 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/0.6431, allocations: 23.98 kB / 0.7477 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2808/0.9239, allocations: 1.652 MB / 0.7493 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.924, allocations: 1.156 kB / 0.7493 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.9266, allocations: 0.9848 MB / 0.7502 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/0.9271, allocations: 288.2 kB / 0.7505 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.9273, allocations: 19.02 kB / 0.7505 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007201/0.928, allocations: 78.14 kB / 0.7506 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/0.9283, allocations: 74.84 kB / 0.7507 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/0.9284, allocations: 38.16 kB / 0.7507 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008291/0.9292, allocations: 0.5159 MB / 0.7512 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9292, allocations: 0 / 0.7512 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001127/0.9304, allocations: 387.1 kB / 0.7516 GB, free: 168.4 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.001496/0.9319, allocations: 0.61 MB / 0.7522 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00293/0.9348, allocations: 1.106 MB / 0.7533 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.9348, allocations: 1.531 kB / 0.7533 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.936, allocations: 0.5458 MB / 0.7538 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.9375, allocations: 329.1 kB / 0.7541 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.9418, allocations: 2.566 MB / 0.7566 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.9426, allocations: 1.104 MB / 0.7577 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.943, allocations: 127.2 kB / 0.7578 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.9431, allocations: 2.062 kB / 0.7578 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.03554/0.9786, allocations: 21.79 MB / 0.7791 GB, free: 155.2 MB / 0.5762 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)