Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001327/0.001327, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001384/0.001384, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9745/0.9745, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 76.09 kB / 0.5054 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1817, allocations: 81.02 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00722/0.189, allocations: 4.912 MB / 0.5893 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4169/0.6059, allocations: 148.6 MB / 0.7344 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008153/0.6068, allocations: 26.75 kB / 0.7344 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006138/0.6075, allocations: 147.5 kB / 0.7345 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.6091, allocations: 499.5 kB / 0.735 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.6114, allocations: 0.8422 MB / 0.7358 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002112/0.6135, allocations: 1.542 MB / 0.7373 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.615, allocations: 1.146 MB / 0.7385 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.616, allocations: 0.6879 MB / 0.7391 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008747/0.6169, allocations: 0.734 MB / 0.7398 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.6171, allocations: 191.1 kB / 0.74 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.6182, allocations: 0.5251 MB / 0.7405 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.6186, allocations: 436.7 kB / 0.741 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007761/0.6194, allocations: 0.8139 MB / 0.7417 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.6217, allocations: 2.264 MB / 0.744 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6217, allocations: 0 / 0.744 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.867e-06/0.6217, allocations: 2.875 kB / 0.744 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.492e-05/0.6218, allocations: 3.938 kB / 0.744 GB, free: 7.285 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.003069/0.6249, allocations: 1.811 MB / 0.7457 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.6249, allocations: 10.5 kB / 0.7457 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009557/0.6259, allocations: 243.2 kB / 0.746 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.6271, allocations: 0.8944 MB / 0.7469 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.6272, allocations: 139.7 kB / 0.747 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.6274, allocations: 141.8 kB / 0.7471 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.6298, allocations: 1.47 MB / 0.7486 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.6298, allocations: 5.578 kB / 0.7486 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.6299, allocations: 64.78 kB / 0.7486 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.63, allocations: 39.59 kB / 0.7487 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.6324, allocations: 1.498 MB / 0.7501 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006205/0.6386, allocations: 3.932 MB / 0.754 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.6402, allocations: 0.9054 MB / 0.7548 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/0.6409, allocations: 371.5 kB / 0.7552 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.404e-05/0.641, allocations: 40.95 kB / 0.7552 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.6421, allocations: 0.5436 MB / 0.7558 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 4.899e-06/0.6421, allocations: 4 kB / 0.7558 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003532/0.6457, allocations: 1.38 MB / 0.7571 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.6458, allocations: 196.9 kB / 0.7573 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.6469, allocations: 0.7589 MB / 0.7581 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.846e-05/0.647, allocations: 49.7 kB / 0.7581 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005199/0.6475, allocations: 0.5735 MB / 0.7587 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.6478, allocations: 303.5 kB / 0.7589 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/0.6481, allocations: 194.5 kB / 0.7591 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.6483, allocations: 341.9 kB / 0.7595 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.6489, allocations: 329.8 kB / 0.7598 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007522/0.6497, allocations: 435.9 kB / 0.7602 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.6511, allocations: 0.7657 MB / 0.7609 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6511, allocations: 0 / 0.7609 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002337/0.6534, allocations: 1.024 MB / 0.7619 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.6535, allocations: 4 kB / 0.7619 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.6535, allocations: 0 / 0.7619 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/0.6541, allocations: 92.7 kB / 0.762 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008392/0.655, allocations: 193.9 kB / 0.7622 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.6574, allocations: 1.65 MB / 0.7638 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008586/0.6583, allocations: 103.1 kB / 0.7639 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.791e-05/0.6584, allocations: 43.97 kB / 0.764 GB, free: 3.93 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.0006378/0.659, allocations: 323.1 kB / 0.7643 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.6592, allocations: 98.97 kB / 0.7644 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/0.6621, allocations: 1.292 MB / 0.7656 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.6622, allocations: 16 kB / 0.7656 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6622, allocations: 3.938 kB / 0.7656 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.6622, allocations: 3.984 kB / 0.7657 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004186/0.6664, allocations: 2.49 MB / 0.7681 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.6664, allocations: 0 / 0.7681 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007328/0.6671, allocations: 177 kB / 0.7683 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.6676, allocations: 84.72 kB / 0.7683 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.856e-05/0.6677, allocations: 27.97 kB / 0.7684 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.6697, allocations: 1.678 MB / 0.77 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6697, allocations: 128 / 0.77 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.672, allocations: 1.109 MB / 0.7711 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/0.6724, allocations: 315.5 kB / 0.7714 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.6726, allocations: 31.94 kB / 0.7714 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.6733, allocations: 55.94 kB / 0.7715 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.6734, allocations: 76.89 kB / 0.7715 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.057e-05/0.6735, allocations: 35.97 kB / 0.7716 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007722/0.6743, allocations: 0.5615 MB / 0.7721 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6743, allocations: 0 / 0.7721 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001065/0.6754, allocations: 406.5 kB / 0.7725 GB, free: 10.91 MB / 0.5919 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.001843/0.6772, allocations: 0.5945 MB / 0.7731 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.6801, allocations: 1.21 MB / 0.7743 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6802, allocations: 0 / 0.7743 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.6812, allocations: 0.5782 MB / 0.7748 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.6825, allocations: 306.9 kB / 0.7751 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.6877, allocations: 2.99 MB / 0.7781 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008204/0.6885, allocations: 1.173 MB / 0.7792 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009767/0.6895, allocations: 291.9 kB / 0.7795 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/0.6898, allocations: 123.4 kB / 0.7796 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.6898, allocations: 0 / 0.7796 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of Templates: time 0.03286/0.7227, allocations: 17.15 MB / 0.7963 GB, free: 2.855 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)