Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 103.7 kB / 16.94 MB, free: 6.191 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.001555/0.001555, allocations: 191.6 kB / 17.86 MB, free: 5.293 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.418/1.418, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.817/0.817, allocations: 125.4 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 0.4948 GB, free: 4.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.406, allocations: 78.56 MB / 0.5715 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008806/0.4149, allocations: 7.023 MB / 0.5784 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1886/0.6035, allocations: 151.2 MB / 0.726 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.6056, allocations: 23.81 kB / 0.726 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008863/0.6066, allocations: 257.5 kB / 0.7263 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.6097, allocations: 0.7842 MB / 0.727 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.6124, allocations: 1.007 MB / 0.728 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002596/0.615, allocations: 2.077 MB / 0.73 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.6167, allocations: 1.112 MB / 0.7311 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.6179, allocations: 0.8098 MB / 0.7319 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.619, allocations: 0.8908 MB / 0.7328 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002933/0.6193, allocations: 220 kB / 0.733 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.6204, allocations: 0.5427 MB / 0.7335 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004744/0.6209, allocations: 494.5 kB / 0.734 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.6219, allocations: 0.972 MB / 0.7349 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002996/0.6249, allocations: 2.617 MB / 0.7375 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.625, allocations: 0 / 0.7375 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.625, allocations: 0 / 0.7375 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.401e-05/0.625, allocations: 0 / 0.7375 GB, free: 12.97 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003888/0.6289, allocations: 2.037 MB / 0.7395 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.6289, allocations: 8.031 kB / 0.7395 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.63, allocations: 258.6 kB / 0.7397 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.6315, allocations: 0.9772 MB / 0.7407 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.6316, allocations: 144.8 kB / 0.7408 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.6318, allocations: 152 kB / 0.741 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.6346, allocations: 1.593 MB / 0.7425 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.6347, allocations: 0 / 0.7425 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.6348, allocations: 64 kB / 0.7426 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.6348, allocations: 36 kB / 0.7426 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.6376, allocations: 1.6 MB / 0.7442 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007919/0.6456, allocations: 5.041 MB / 0.7491 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3164/0.962, allocations: 1.089 MB / 0.7502 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009128/0.9629, allocations: 432 kB / 0.7506 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.963, allocations: 41.56 kB / 0.7506 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/0.9645, allocations: 0.6985 MB / 0.7513 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 3.096e-06/0.9645, allocations: 0.9375 kB / 0.7513 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.00449/0.969, allocations: 1.658 MB / 0.7529 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.9691, allocations: 194.3 kB / 0.7531 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.9705, allocations: 0.8424 MB / 0.7539 GB, free: 168 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.209e-05/0.9706, allocations: 50.41 kB / 0.754 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005357/0.9712, allocations: 0.6216 MB / 0.7546 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.9714, allocations: 361.9 kB / 0.7549 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003935/0.9718, allocations: 229.7 kB / 0.7552 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.9719, allocations: 349.6 kB / 0.7555 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/0.9728, allocations: 399 kB / 0.7559 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.9738, allocations: 0.5062 MB / 0.7564 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.9757, allocations: 0.8896 MB / 0.7572 GB, free: 166 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9757, allocations: 0 / 0.7572 GB, free: 166 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002687/0.9784, allocations: 1.212 MB / 0.7584 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.9784, allocations: 12.19 kB / 0.7584 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.9784, allocations: 1.156 kB / 0.7584 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/0.979, allocations: 85.75 kB / 0.7585 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009598/0.98, allocations: 227.1 kB / 0.7587 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.9821, allocations: 1.654 MB / 0.7603 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.9832, allocations: 132 kB / 0.7605 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.9833, allocations: 54.75 kB / 0.7605 GB, free: 163.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.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 (135): * Single equations (assignments): 134 * 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.000731/0.984, allocations: 354.1 kB / 0.7609 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.9842, allocations: 109.2 kB / 0.761 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003285/0.9875, allocations: 1.536 MB / 0.7625 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.9875, allocations: 13.16 kB / 0.7625 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.9876, allocations: 1.375 kB / 0.7625 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.9876, allocations: 7.266 kB / 0.7625 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.989, allocations: 1.369 MB / 0.7638 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.9891, allocations: 0 / 0.7638 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007818/0.9898, allocations: 203.4 kB / 0.764 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004324/0.9903, allocations: 70.64 kB / 0.7641 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/0.9904, allocations: 40.28 kB / 0.7641 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.992, allocations: 1.675 MB / 0.7658 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.992, allocations: 2.016 kB / 0.7658 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.9945, allocations: 1.282 MB / 0.767 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.9949, allocations: 362.7 kB / 0.7674 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.9951, allocations: 28.5 kB / 0.7674 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008191/0.9959, allocations: 87.19 kB / 0.7675 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.9961, allocations: 99.44 kB / 0.7676 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-05/0.9962, allocations: 50.12 kB / 0.7676 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007447/0.997, allocations: 0.6122 MB / 0.7682 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.997, allocations: 2.625 kB / 0.7682 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00127/0.9982, allocations: 478.6 kB / 0.7687 GB, free: 159.2 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * 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.001837/1, allocations: 0.6276 MB / 0.7693 GB, free: 159 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003616/1.004, allocations: 1.435 MB / 0.7707 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.004, allocations: 1.062 kB / 0.7707 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/1.005, allocations: 0.6809 MB / 0.7714 GB, free: 158 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/1.006, allocations: 357.5 kB / 0.7717 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/1.011, allocations: 2.552 MB / 0.7742 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/1.012, allocations: 1.216 MB / 0.7754 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/1.012, allocations: 163.7 kB / 0.7755 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.653e-06/1.012, allocations: 4 kB / 0.7755 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.02949/1.042, allocations: 27.29 MB / 0.8022 GB, free: 129.5 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)