Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001179/0.001179, allocations: 108.8 kB / 16.37 MB, free: 6.473 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.001246/0.001246, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7672/0.7672, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 63.89 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3339, allocations: 80.18 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005475/0.3394, allocations: 4.931 MB / 0.5863 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1467/0.4861, allocations: 150.8 MB / 0.7336 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.4874, allocations: 23.88 kB / 0.7336 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.4884, allocations: 186.2 kB / 0.7338 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.4915, allocations: 0.5663 MB / 0.7343 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003304/0.4949, allocations: 0.9202 MB / 0.7352 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002276/0.4972, allocations: 1.561 MB / 0.7367 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.499, allocations: 1.16 MB / 0.7379 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.5001, allocations: 0.685 MB / 0.7385 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.5013, allocations: 0.7311 MB / 0.7393 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004757/0.5018, allocations: 192 kB / 0.7394 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.503, allocations: 0.5465 MB / 0.74 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000505/0.5036, allocations: 442.6 kB / 0.7404 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.5047, allocations: 0.8045 MB / 0.7412 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.5072, allocations: 2.311 MB / 0.7434 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5072, allocations: 0 / 0.7434 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5072, allocations: 0 / 0.7434 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.5072, allocations: 0 / 0.7434 GB, free: 7.816 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.00292/0.5102, allocations: 1.818 MB / 0.7452 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.5102, allocations: 12.02 kB / 0.7452 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009282/0.5111, allocations: 238.8 kB / 0.7454 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.5124, allocations: 0.915 MB / 0.7463 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.5125, allocations: 140.6 kB / 0.7465 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.5127, allocations: 144 kB / 0.7466 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.5149, allocations: 1.469 MB / 0.748 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.5149, allocations: 0 / 0.748 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.5151, allocations: 64 kB / 0.7481 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.5151, allocations: 39.94 kB / 0.7481 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.5173, allocations: 1.49 MB / 0.7496 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2514/0.7688, allocations: 3.876 MB / 0.7534 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.7704, allocations: 0.897 MB / 0.7543 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006103/0.771, allocations: 371.9 kB / 0.7546 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.602e-05/0.7711, allocations: 47.03 kB / 0.7547 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009158/0.7721, allocations: 0.5386 MB / 0.7552 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 2.545e-06/0.7721, allocations: 0.75 kB / 0.7552 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003434/0.7755, allocations: 1.375 MB / 0.7565 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.7756, allocations: 199.3 kB / 0.7567 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.7768, allocations: 0.7635 MB / 0.7575 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.7768, allocations: 42.27 kB / 0.7575 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.7772, allocations: 0.5756 MB / 0.7581 GB, free: 163 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.7774, allocations: 306.1 kB / 0.7584 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.7778, allocations: 197.9 kB / 0.7586 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.7779, allocations: 338.6 kB / 0.7589 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.7785, allocations: 326.4 kB / 0.7592 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007482/0.7793, allocations: 438.2 kB / 0.7596 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.7805, allocations: 0.7683 MB / 0.7604 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.7805, allocations: 0 / 0.7604 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002114/0.7827, allocations: 1.026 MB / 0.7614 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7827, allocations: 10.62 kB / 0.7614 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.7827, allocations: 3.984 kB / 0.7614 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005715/0.7833, allocations: 86.95 kB / 0.7615 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.7841, allocations: 200.1 kB / 0.7616 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.7858, allocations: 1.639 MB / 0.7632 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/0.7866, allocations: 102.9 kB / 0.7633 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.7867, allocations: 49 kB / 0.7634 GB, free: 159.1 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.000538/0.7872, allocations: 322 kB / 0.7637 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.7874, allocations: 98.66 kB / 0.7638 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.79, allocations: 1.292 MB / 0.7651 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.79, allocations: 10.69 kB / 0.7651 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.79, allocations: 0 / 0.7651 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.79, allocations: 8.172 kB / 0.7651 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/0.7937, allocations: 2.489 MB / 0.7675 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7937, allocations: 0 / 0.7675 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/0.7943, allocations: 178.5 kB / 0.7677 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004105/0.7948, allocations: 77.5 kB / 0.7677 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.7948, allocations: 23.48 kB / 0.7678 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.7963, allocations: 1.681 MB / 0.7694 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7963, allocations: 0 / 0.7694 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.7982, allocations: 1.113 MB / 0.7705 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/0.7986, allocations: 313.8 kB / 0.7708 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.7987, allocations: 28 kB / 0.7708 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006403/0.7993, allocations: 60.66 kB / 0.7709 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.7995, allocations: 72.89 kB / 0.771 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/0.7996, allocations: 49.22 kB / 0.771 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005764/0.8001, allocations: 0.5554 MB / 0.7715 GB, free: 153 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8002, allocations: 3.938 kB / 0.7715 GB, free: 153 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008923/0.8011, allocations: 407.8 kB / 0.7719 GB, free: 152.6 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: 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 (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.00117/0.8022, allocations: 0.5972 MB / 0.7725 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001541/0.8038, allocations: 0.9674 MB / 0.7735 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8038, allocations: 4 kB / 0.7735 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007901/0.8046, allocations: 0.582 MB / 0.774 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.8057, allocations: 308 kB / 0.7743 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.8093, allocations: 2.312 MB / 0.7766 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.8098, allocations: 1.175 MB / 0.7777 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007474/0.8105, allocations: 283.8 kB / 0.778 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.8108, allocations: 127.4 kB / 0.7781 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.8108, allocations: 4 kB / 0.7781 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.02173/0.8326, allocations: 17.2 MB / 0.7949 GB, free: 129.5 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)