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.0008392/0.000839, allocations: 91.27 kB / 16.66 MB, free: 6.344 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.001015/0.001015, allocations: 179.9 kB / 17.58 MB, free: 5.965 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.363/1.363, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7653/0.7653, allocations: 115.5 MB / 408.2 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4379, allocations: 77.52 MB / 0.5606 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006811/0.4447, allocations: 6.396 MB / 0.5668 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1789/0.6237, allocations: 147.4 MB / 0.7107 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.6256, allocations: 19.94 kB / 0.7108 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.6269, allocations: 198.4 kB / 0.711 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003517/0.6304, allocations: 0.683 MB / 0.7116 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.6332, allocations: 0.8656 MB / 0.7125 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003306/0.6366, allocations: 2 MB / 0.7144 GB, free: 5.375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.6385, allocations: 0.9673 MB / 0.7154 GB, free: 4.355 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.6398, allocations: 0.587 MB / 0.7159 GB, free: 3.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.6411, allocations: 0.6488 MB / 0.7166 GB, free: 3.113 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003823/0.6415, allocations: 40 kB / 0.7166 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.6428, allocations: 383.6 kB / 0.717 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005456/0.6433, allocations: 282.5 kB / 0.7172 GB, free: 2.422 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.6446, allocations: 0.7549 MB / 0.718 GB, free: 1.656 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.6471, allocations: 1.858 MB / 0.7198 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.6471, allocations: 0 / 0.7198 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.255e-06/0.6471, allocations: 0 / 0.7198 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.297e-05/0.6472, allocations: 4 kB / 0.7198 GB, free: 15.79 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004408/0.6516, allocations: 1.715 MB / 0.7215 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.6517, allocations: 15.97 kB / 0.7215 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.653, allocations: 266.6 kB / 0.7217 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.6549, allocations: 0.9732 MB / 0.7227 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.655, allocations: 119.1 kB / 0.7228 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/0.6554, allocations: 148 kB / 0.7229 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003529/0.6589, allocations: 1.584 MB / 0.7245 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.659, allocations: 7.984 kB / 0.7245 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.6591, allocations: 63.98 kB / 0.7246 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.6592, allocations: 40 kB / 0.7246 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.6623, allocations: 1.643 MB / 0.7262 GB, free: 9.059 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.008674/0.671, allocations: 4.613 MB / 0.7307 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.6738, allocations: 1.195 MB / 0.7319 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.6754, allocations: 489.5 kB / 0.7323 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.6756, allocations: 53.05 kB / 0.7324 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002232/0.6778, allocations: 0.7783 MB / 0.7332 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=128): time 7.454e-06/0.6778, allocations: 4 kB / 0.7332 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128): time 0.008421/0.6863, allocations: 1.857 MB / 0.735 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/0.6865, allocations: 193.2 kB / 0.7352 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.6892, allocations: 0.8693 MB / 0.736 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003126/0.6895, allocations: 53.69 kB / 0.7361 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000933/0.6905, allocations: 0.6053 MB / 0.7366 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008465/0.6913, allocations: 418 kB / 0.737 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003926/0.6918, allocations: 101.7 kB / 0.7371 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002457/0.692, allocations: 353.9 kB / 0.7375 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.6939, allocations: 450.4 kB / 0.7379 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.696, allocations: 0.5726 MB / 0.7385 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003673/0.6997, allocations: 0.9936 MB / 0.7394 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.6997, allocations: 0 / 0.7394 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.005652/0.7054, allocations: 1.355 MB / 0.7408 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.7055, allocations: 8 kB / 0.7408 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.7055, allocations: 0 / 0.7408 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.7066, allocations: 88.83 kB / 0.7409 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.7089, allocations: 271.6 kB / 0.7411 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/0.7124, allocations: 1.536 MB / 0.7426 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.7148, allocations: 178.7 kB / 0.7428 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/0.7151, allocations: 60.06 kB / 0.7428 GB, free: 7.504 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: 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.001438/0.7166, allocations: 359.5 kB / 0.7432 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006183/0.7172, allocations: 118.5 kB / 0.7433 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007471/0.7247, allocations: 1.713 MB / 0.745 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.05e-05/0.7248, allocations: 16 kB / 0.745 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.7248, allocations: 7.938 kB / 0.745 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/0.7249, allocations: 11.91 kB / 0.745 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/0.7287, allocations: 1.408 MB / 0.7464 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/0.7288, allocations: 0 / 0.7464 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001894/0.7307, allocations: 215.7 kB / 0.7466 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000982/0.7317, allocations: 92.7 kB / 0.7467 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/0.7319, allocations: 39.97 kB / 0.7467 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003366/0.7353, allocations: 1.56 MB / 0.7482 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.7353, allocations: 0 / 0.7482 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005907/0.7412, allocations: 1.414 MB / 0.7496 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3469/1.088, allocations: 401.9 kB / 0.75 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006556/1.089, allocations: 30.09 kB / 0.75 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/1.09, allocations: 117.7 kB / 0.7501 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005045/1.091, allocations: 114.7 kB / 0.7502 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/1.091, allocations: 54.73 kB / 0.7503 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001748/1.093, allocations: 0.6483 MB / 0.7509 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/1.093, allocations: 0 / 0.7509 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002172/1.095, allocations: 487.7 kB / 0.7514 GB, free: 171.5 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: 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.001829/1.097, allocations: 0.6216 MB / 0.752 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003328/1.1, allocations: 1.28 MB / 0.7533 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/1.1, allocations: 0 / 0.7533 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/1.102, allocations: 0.7481 MB / 0.754 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.104, allocations: 321.2 kB / 0.7543 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/1.11, allocations: 3.333 MB / 0.7575 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/1.112, allocations: 1.237 MB / 0.7588 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007604/1.112, allocations: 178 kB / 0.7589 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/1.112, allocations: 0 / 0.7589 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.04965/1.162, allocations: 27.63 MB / 0.7859 GB, free: 157.3 MB / 0.5762 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)