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.0008495/0.0008499, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005941/0.005942, allocations: 174.4 kB / 16.27 MB, free: 6.66 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7567/0.7567, allocations: 132.4 MB / 423.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 15.94 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.498, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005368/0.5034, allocations: 4.487 MB / 0.588 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1717/0.6751, allocations: 146.9 MB / 0.7315 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008873/0.676, allocations: 19.94 kB / 0.7315 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.6766, allocations: 150.8 kB / 0.7316 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.678, allocations: 484 kB / 0.7321 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.6798, allocations: 0.8126 MB / 0.7329 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00139/0.6812, allocations: 1.428 MB / 0.7343 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.6826, allocations: 1.097 MB / 0.7354 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000724/0.6833, allocations: 441.5 kB / 0.7358 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005625/0.6839, allocations: 486.6 kB / 0.7362 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.684, allocations: 28 kB / 0.7363 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000876/0.6849, allocations: 371.6 kB / 0.7366 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.6851, allocations: 226.7 kB / 0.7368 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005445/0.6857, allocations: 0.6148 MB / 0.7374 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002/0.6877, allocations: 2.083 MB / 0.7395 GB, free: 296 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6877, allocations: 0 / 0.7395 GB, free: 296 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6877, allocations: 0 / 0.7395 GB, free: 296 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.123e-05/0.6877, allocations: 0 / 0.7395 GB, free: 296 kB / 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.002595/0.6903, allocations: 1.487 MB / 0.7409 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.6904, allocations: 8.031 kB / 0.7409 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.6914, allocations: 254.8 kB / 0.7412 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.6927, allocations: 0.8994 MB / 0.7421 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.6928, allocations: 140.7 kB / 0.7422 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.693, allocations: 136 kB / 0.7423 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.6955, allocations: 1.473 MB / 0.7438 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.6956, allocations: 0 / 0.7438 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.6957, allocations: 64 kB / 0.7438 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.6958, allocations: 36 kB / 0.7439 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.6984, allocations: 1.506 MB / 0.7453 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006287/0.7047, allocations: 3.979 MB / 0.7492 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.7063, allocations: 0.9153 MB / 0.7501 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/0.707, allocations: 371.7 kB / 0.7505 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.88e-05/0.7071, allocations: 49.02 kB / 0.7505 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009955/0.7081, allocations: 0.5515 MB / 0.751 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 2.445e-06/0.7081, allocations: 0 / 0.751 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.00339/0.7115, allocations: 1.384 MB / 0.7524 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.7116, allocations: 196.9 kB / 0.7526 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009688/0.7126, allocations: 0.7667 MB / 0.7533 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.475e-05/0.7127, allocations: 41.7 kB / 0.7534 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.7131, allocations: 0.5813 MB / 0.7539 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.7133, allocations: 307.5 kB / 0.7542 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.7135, allocations: 77.69 kB / 0.7543 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.7136, allocations: 337.9 kB / 0.7546 GB, free: 400 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/0.7142, allocations: 333.8 kB / 0.755 GB, free: 64 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/0.715, allocations: 439.9 kB / 0.7554 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.7163, allocations: 0.7696 MB / 0.7561 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7163, allocations: 4 kB / 0.7561 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002243/0.7186, allocations: 1.036 MB / 0.7571 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.7186, allocations: 7.984 kB / 0.7571 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.7186, allocations: 3.938 kB / 0.7571 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.7192, allocations: 88.78 kB / 0.7572 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008348/0.7201, allocations: 199.7 kB / 0.7574 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.7222, allocations: 1.536 MB / 0.7589 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/0.723, allocations: 111.2 kB / 0.759 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-05/0.7231, allocations: 47.95 kB / 0.7591 GB, free: 11.66 MB / 0.5919 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.0006307/0.7238, allocations: 319.1 kB / 0.7594 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.7239, allocations: 98.78 kB / 0.7595 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002991/0.7269, allocations: 1.29 MB / 0.7607 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.727, allocations: 12 kB / 0.7607 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.727, allocations: 4 kB / 0.7607 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.727, allocations: 11.91 kB / 0.7608 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.731, allocations: 2.501 MB / 0.7632 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.731, allocations: 3.984 kB / 0.7632 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007216/0.7317, allocations: 183.8 kB / 0.7634 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/0.7323, allocations: 80.78 kB / 0.7635 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.7324, allocations: 31.97 kB / 0.7635 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.7342, allocations: 1.559 MB / 0.765 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7342, allocations: 0 / 0.765 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.7363, allocations: 1.125 MB / 0.7661 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.7368, allocations: 343.4 kB / 0.7664 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.737, allocations: 23.98 kB / 0.7665 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007597/0.7377, allocations: 79.88 kB / 0.7665 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.7379, allocations: 72.89 kB / 0.7666 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/0.738, allocations: 39.97 kB / 0.7666 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007411/0.7387, allocations: 0.5576 MB / 0.7672 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7387, allocations: 0 / 0.7672 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001134/0.7399, allocations: 410.4 kB / 0.7676 GB, free: 2.68 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.001557/0.7414, allocations: 0.5977 MB / 0.7682 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002097/0.7435, allocations: 0.9719 MB / 0.7691 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7436, allocations: 0 / 0.7691 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.7446, allocations: 0.5899 MB / 0.7697 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.746, allocations: 276.8 kB / 0.77 GB, free: 452 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.7512, allocations: 3.046 MB / 0.7729 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/0.752, allocations: 1.166 MB / 0.7741 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001055/0.753, allocations: 295.8 kB / 0.7743 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.7534, allocations: 127.4 kB / 0.7745 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of SimCode: time 8.11e-07/0.7534, allocations: 0 / 0.7745 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.02935/0.7827, allocations: 16.41 MB / 0.7905 GB, free: 11.53 MB / 0.6231 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 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)