Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009158/0.0009157, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 182 kB / 16.91 MB, free: 6.914 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.482/1.482, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7206/0.7206, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003754, allocations: 8 kB / 495.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2031, allocations: 77.53 MB / 0.56 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00861/0.2118, allocations: 6.4 MB / 0.5662 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5992/0.811, allocations: 147.4 MB / 0.7101 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.8127, allocations: 19.88 kB / 0.7101 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.8138, allocations: 198.4 kB / 0.7103 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003111/0.8169, allocations: 0.6872 MB / 0.711 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.8194, allocations: 0.8674 MB / 0.7118 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002906/0.8224, allocations: 1.996 MB / 0.7138 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.8238, allocations: 0.9618 MB / 0.7147 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.8251, allocations: 0.5908 MB / 0.7153 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008635/0.8259, allocations: 0.6585 MB / 0.7159 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.8261, allocations: 40 kB / 0.716 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.8271, allocations: 379.7 kB / 0.7163 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.8274, allocations: 282.5 kB / 0.7166 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007726/0.8282, allocations: 0.755 MB / 0.7173 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002487/0.8307, allocations: 2.339 MB / 0.7196 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8307, allocations: 4 kB / 0.7196 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.043e-06/0.8307, allocations: 0 / 0.7196 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.111e-05/0.8308, allocations: 0 / 0.7196 GB, free: 2.973 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00377/0.8345, allocations: 1.725 MB / 0.7213 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.8346, allocations: 8.031 kB / 0.7213 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.8357, allocations: 266.6 kB / 0.7216 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.8372, allocations: 0.9734 MB / 0.7225 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.876e-05/0.8373, allocations: 119.1 kB / 0.7226 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.8375, allocations: 148 kB / 0.7228 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.8403, allocations: 1.584 MB / 0.7243 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.8403, allocations: 0 / 0.7243 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.8405, allocations: 63.98 kB / 0.7244 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.8405, allocations: 40 kB / 0.7244 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.8432, allocations: 1.643 MB / 0.726 GB, free: 12.24 MB / 0.545 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.007471/0.8507, allocations: 4.612 MB / 0.7305 GB, free: 7.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.8529, allocations: 1.194 MB / 0.7317 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008236/0.8537, allocations: 490.9 kB / 0.7322 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.8539, allocations: 53.06 kB / 0.7322 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.8553, allocations: 0.7822 MB / 0.733 GB, free: 4.926 MB / 0.545 GB Notification: Performance of pre-optimization done (n=128): time 3.005e-06/0.8553, allocations: 0 / 0.733 GB, free: 4.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=128): time 0.004482/0.8598, allocations: 1.857 MB / 0.7348 GB, free: 3.043 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.8599, allocations: 193.2 kB / 0.735 GB, free: 2.812 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.8612, allocations: 0.8731 MB / 0.7358 GB, free: 1.914 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.8613, allocations: 57.7 kB / 0.7359 GB, free: 1.852 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/0.8618, allocations: 0.5975 MB / 0.7365 GB, free: 1.242 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000387/0.8622, allocations: 418 kB / 0.7369 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.8624, allocations: 105.7 kB / 0.737 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8625, allocations: 354 kB / 0.7373 GB, free: 376 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008596/0.8634, allocations: 450.3 kB / 0.7377 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009798/0.8644, allocations: 0.5772 MB / 0.7383 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.8662, allocations: 0.9936 MB / 0.7393 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.8662, allocations: 0 / 0.7393 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003049/0.8693, allocations: 1.355 MB / 0.7406 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.8693, allocations: 4 kB / 0.7406 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.8694, allocations: 4.062 kB / 0.7406 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.87, allocations: 84.77 kB / 0.7407 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.8712, allocations: 267.6 kB / 0.7409 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.8733, allocations: 1.552 MB / 0.7425 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.8747, allocations: 170.7 kB / 0.7426 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.8749, allocations: 59.95 kB / 0.7427 GB, free: 10.69 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0007293/0.8756, allocations: 349.5 kB / 0.743 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.8758, allocations: 118.5 kB / 0.7431 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00369/0.8795, allocations: 1.713 MB / 0.7448 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.8796, allocations: 20 kB / 0.7448 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.8796, allocations: 0 / 0.7448 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.8796, allocations: 7.969 kB / 0.7448 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.8815, allocations: 1.408 MB / 0.7462 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.8815, allocations: 4 kB / 0.7462 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/0.8825, allocations: 219.7 kB / 0.7464 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005564/0.883, allocations: 84.72 kB / 0.7465 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.684e-05/0.8832, allocations: 43.95 kB / 0.7465 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.8851, allocations: 1.556 MB / 0.7481 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8851, allocations: 0 / 0.7481 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.8883, allocations: 1.418 MB / 0.7494 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007883/0.8891, allocations: 406.8 kB / 0.7498 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.8893, allocations: 35.98 kB / 0.7499 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.8903, allocations: 119.3 kB / 0.75 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.8906, allocations: 113.1 kB / 0.7501 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.8907, allocations: 55.97 kB / 0.7501 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009744/0.8917, allocations: 0.6502 MB / 0.7508 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-07/0.8917, allocations: 0 / 0.7508 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001347/0.8931, allocations: 490.6 kB / 0.7512 GB, free: 1.664 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001507/0.8946, allocations: 0.6335 MB / 0.7519 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.8975, allocations: 1.275 MB / 0.7531 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.8975, allocations: 0 / 0.7531 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.899, allocations: 0.7441 MB / 0.7538 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.9009, allocations: 316.1 kB / 0.7541 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/0.9063, allocations: 3.299 MB / 0.7574 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008416/0.9071, allocations: 1.233 MB / 0.7586 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001396/0.9085, allocations: 342.1 kB / 0.7589 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.909, allocations: 151.3 kB / 0.759 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/0.909, allocations: 4 kB / 0.759 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of Templates: time 0.04032/0.9493, allocations: 20.51 MB / 0.7791 GB, free: 5.488 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)