Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.000886/0.000886, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008585/0.0008585, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.4 MB / 222.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.556/1.556, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0004998, allocations: 14.91 kB / 0.6735 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1996, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004819/0.2045, allocations: 4.197 MB / 0.7912 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4815/0.686, allocations: 127.5 MB / 0.9157 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005334/0.6865, allocations: 18.09 kB / 0.9157 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.6869, allocations: 85.23 kB / 0.9158 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.688, allocations: 0.5148 MB / 0.9163 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.6894, allocations: 0.6819 MB / 0.917 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.6906, allocations: 0.9525 MB / 0.9179 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.6916, allocations: 0.8834 MB / 0.9188 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005858/0.6922, allocations: 440.2 kB / 0.9192 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004719/0.6927, allocations: 434.5 kB / 0.9196 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.02e-05/0.6928, allocations: 29.25 kB / 0.9196 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005715/0.6934, allocations: 254.6 kB / 0.9199 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.6936, allocations: 231.8 kB / 0.9201 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.6939, allocations: 261.9 kB / 0.9204 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.6958, allocations: 1.623 MB / 0.9219 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.6958, allocations: 0 / 0.9219 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6958, allocations: 0 / 0.9219 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.296e-05/0.6958, allocations: 2.734 kB / 0.9219 GB, free: 21.31 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002376/0.6982, allocations: 1.489 MB / 0.9234 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.6983, allocations: 7.531 kB / 0.9234 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008808/0.6991, allocations: 256.5 kB / 0.9236 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.7003, allocations: 0.8713 MB / 0.9245 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.7004, allocations: 135.1 kB / 0.9246 GB, free: 20 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.7005, allocations: 137.9 kB / 0.9248 GB, free: 20 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.7027, allocations: 1.41 MB / 0.9261 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.7027, allocations: 2.906 kB / 0.9261 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.7029, allocations: 59.92 kB / 0.9262 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.7029, allocations: 38.91 kB / 0.9262 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.705, allocations: 1.462 MB / 0.9277 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005349/0.7104, allocations: 3.787 MB / 0.9314 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.7118, allocations: 0.9055 MB / 0.9322 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.981e-05/0.7119, allocations: 43.41 kB / 0.9323 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008752/0.7128, allocations: 0.5478 MB / 0.9328 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=93): time 2.665e-06/0.7128, allocations: 0 / 0.9328 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=93): time 0.003128/0.7159, allocations: 1.377 MB / 0.9342 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/0.7161, allocations: 193.5 kB / 0.9343 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.7171, allocations: 0.7372 MB / 0.9351 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.1e-05/0.7172, allocations: 51.27 kB / 0.9351 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.7176, allocations: 0.5839 MB / 0.9357 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.7178, allocations: 306.1 kB / 0.936 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.7179, allocations: 17.19 kB / 0.936 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.718, allocations: 340.5 kB / 0.9363 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005303/0.7185, allocations: 308.6 kB / 0.9366 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/0.7191, allocations: 430.4 kB / 0.937 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/0.7197, allocations: 375.8 kB / 0.9374 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7197, allocations: 0 / 0.9374 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001896/0.7216, allocations: 0.9829 MB / 0.9383 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.7217, allocations: 5.062 kB / 0.9383 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7217, allocations: 6.125 kB / 0.9384 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/0.7222, allocations: 86.25 kB / 0.9384 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/0.723, allocations: 195.5 kB / 0.9386 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.7248, allocations: 1.545 MB / 0.9401 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/0.7255, allocations: 103.2 kB / 0.9402 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/0.7256, allocations: 41.19 kB / 0.9403 GB, free: 15.76 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005016/0.7261, allocations: 309.9 kB / 0.9406 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.7262, allocations: 97.72 kB / 0.9407 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.7288, allocations: 1.316 MB / 0.9419 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.7288, allocations: 9.844 kB / 0.942 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.7288, allocations: 0 / 0.942 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.7288, allocations: 7.469 kB / 0.942 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/0.7324, allocations: 2.492 MB / 0.9444 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7324, allocations: 4 kB / 0.9444 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/0.7331, allocations: 183.7 kB / 0.9446 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004753/0.7336, allocations: 83.39 kB / 0.9447 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.7336, allocations: 26.62 kB / 0.9447 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.7353, allocations: 1.57 MB / 0.9462 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7353, allocations: 9.047 kB / 0.9462 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.7372, allocations: 1.106 MB / 0.9473 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.7376, allocations: 342.9 kB / 0.9476 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.7378, allocations: 24.19 kB / 0.9477 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/0.7385, allocations: 80.72 kB / 0.9477 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.7386, allocations: 70.62 kB / 0.9478 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.7387, allocations: 42.41 kB / 0.9478 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006703/0.7394, allocations: 0.5502 MB / 0.9484 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.7394, allocations: 4.984 kB / 0.9484 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001003/0.7404, allocations: 373.5 kB / 0.9487 GB, free: 13.14 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/0.7415, allocations: 0.564 MB / 0.9493 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.7431, allocations: 0.9356 MB / 0.9502 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7431, allocations: 2.906 kB / 0.9502 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008665/0.744, allocations: 0.5806 MB / 0.9508 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.745, allocations: 254 kB / 0.951 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.7493, allocations: 2.915 MB / 0.9539 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/0.75, allocations: 1.199 MB / 0.955 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008549/0.7508, allocations: 283.7 kB / 0.9553 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.7511, allocations: 125.5 kB / 0.9554 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.7511, allocations: 0 / 0.9554 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.02282/0.7739, allocations: 15.6 MB / 0.9707 GB, free: 3.75 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) Environment - environmentSimulation: