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.001475/0.001475, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.055/1.055, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 63.23 kB / 0.5053 GB, free: 5.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2084, allocations: 80.92 MB / 0.5844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007286/0.2158, allocations: 4.913 MB / 0.5892 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5273/0.743, allocations: 150.8 MB / 0.7364 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.7443, allocations: 22.44 kB / 0.7364 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009372/0.7453, allocations: 192.8 kB / 0.7366 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.748, allocations: 0.5572 MB / 0.7372 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.7514, allocations: 0.9248 MB / 0.7381 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002781/0.7542, allocations: 1.548 MB / 0.7396 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.7564, allocations: 1.142 MB / 0.7407 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.7579, allocations: 0.6836 MB / 0.7414 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.7593, allocations: 0.733 MB / 0.7421 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000595/0.7599, allocations: 190.6 kB / 0.7423 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.7617, allocations: 0.5233 MB / 0.7428 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007243/0.7624, allocations: 435.2 kB / 0.7432 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.7637, allocations: 0.815 MB / 0.744 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.7668, allocations: 2.256 MB / 0.7462 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7668, allocations: 3.938 kB / 0.7462 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7668, allocations: 0 / 0.7462 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.61e-05/0.7669, allocations: 0 / 0.7462 GB, free: 5.387 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.003214/0.7701, allocations: 1.818 MB / 0.748 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.7701, allocations: 7.5 kB / 0.748 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009928/0.7711, allocations: 243 kB / 0.7482 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.7723, allocations: 0.8985 MB / 0.7491 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.7725, allocations: 139.6 kB / 0.7492 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.7727, allocations: 145.7 kB / 0.7494 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.7749, allocations: 1.462 MB / 0.7508 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.775, allocations: 10.09 kB / 0.7508 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.7751, allocations: 65.34 kB / 0.7509 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.7751, allocations: 36.94 kB / 0.7509 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.7775, allocations: 1.495 MB / 0.7524 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006294/0.7838, allocations: 3.925 MB / 0.7562 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.7855, allocations: 0.9015 MB / 0.7571 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/0.7862, allocations: 372.2 kB / 0.7574 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.332e-05/0.7863, allocations: 41.08 kB / 0.7575 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.7874, allocations: 0.5472 MB / 0.758 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 2.906e-06/0.7874, allocations: 4 kB / 0.758 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003536/0.7909, allocations: 1.368 MB / 0.7593 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.791, allocations: 196.9 kB / 0.7595 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.792, allocations: 0.7628 MB / 0.7603 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.341e-05/0.7921, allocations: 45.7 kB / 0.7603 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004731/0.7926, allocations: 0.5736 MB / 0.7609 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.7929, allocations: 307.5 kB / 0.7612 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.7932, allocations: 203.5 kB / 0.7614 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7933, allocations: 337.9 kB / 0.7617 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006057/0.7939, allocations: 333.8 kB / 0.762 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007227/0.7947, allocations: 435.9 kB / 0.7624 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.7961, allocations: 0.7627 MB / 0.7632 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.7961, allocations: 0 / 0.7632 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002424/0.7985, allocations: 1.028 MB / 0.7642 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.7985, allocations: 4 kB / 0.7642 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.7986, allocations: 4 kB / 0.7642 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006337/0.7992, allocations: 92.7 kB / 0.7643 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008487/0.8001, allocations: 191.7 kB / 0.7644 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.8022, allocations: 1.655 MB / 0.7661 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/0.8032, allocations: 103.1 kB / 0.7662 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.344e-05/0.8033, allocations: 47.95 kB / 0.7662 GB, free: 2.039 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.000697/0.804, allocations: 317.6 kB / 0.7665 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.8042, allocations: 98.78 kB / 0.7666 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.8071, allocations: 1.291 MB / 0.7679 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.8072, allocations: 12 kB / 0.7679 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8072, allocations: 3.938 kB / 0.7679 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.8072, allocations: 11.92 kB / 0.7679 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004099/0.8113, allocations: 2.486 MB / 0.7703 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8113, allocations: 0 / 0.7703 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007203/0.812, allocations: 175.8 kB / 0.7705 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004662/0.8125, allocations: 76.78 kB / 0.7706 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.128e-05/0.8126, allocations: 23.98 kB / 0.7706 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.8146, allocations: 1.677 MB / 0.7722 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8146, allocations: 0 / 0.7722 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/0.8171, allocations: 1.113 MB / 0.7733 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005365/0.8176, allocations: 311.5 kB / 0.7736 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.8178, allocations: 31.92 kB / 0.7736 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007937/0.8186, allocations: 59.94 kB / 0.7737 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.8188, allocations: 72.84 kB / 0.7738 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.915e-05/0.8189, allocations: 39.97 kB / 0.7738 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009811/0.8199, allocations: 0.5576 MB / 0.7743 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8199, allocations: 0 / 0.7743 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001405/0.8213, allocations: 410.5 kB / 0.7747 GB, free: 9.035 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.001685/0.823, allocations: 0.6058 MB / 0.7753 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003229/0.8263, allocations: 1.206 MB / 0.7765 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.8263, allocations: 0 / 0.7765 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.8275, allocations: 0.5782 MB / 0.7771 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.8291, allocations: 309.2 kB / 0.7774 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.8345, allocations: 2.339 MB / 0.7796 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008746/0.8354, allocations: 1.17 MB / 0.7808 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001063/0.8365, allocations: 295.7 kB / 0.7811 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.8368, allocations: 127.4 kB / 0.7812 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/0.8368, allocations: 0 / 0.7812 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of Templates: time 0.03159/0.8684, allocations: 17.22 MB / 0.798 GB, free: 1.516 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)