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.0009853/0.0009853, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001127/0.001127, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.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.016/1.016, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004235, allocations: 16.2 kB / 0.507 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.169, allocations: 82.3 MB / 0.5874 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005176/0.1742, allocations: 4.231 MB / 0.5915 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5329/0.7072, allocations: 137 MB / 0.7253 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009518/0.7082, allocations: 17.38 kB / 0.7253 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007708/0.7089, allocations: 140.2 kB / 0.7254 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.7111, allocations: 462.1 kB / 0.7259 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.7139, allocations: 0.7078 MB / 0.7266 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002499/0.7164, allocations: 1.336 MB / 0.7279 GB, free: 5.512 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.7181, allocations: 0.9169 MB / 0.7288 GB, free: 5.109 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.7193, allocations: 423.3 kB / 0.7292 GB, free: 4.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.7207, allocations: 463.7 kB / 0.7296 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004002/0.7211, allocations: 29.06 kB / 0.7296 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.723, allocations: 336.1 kB / 0.73 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007658/0.7238, allocations: 230 kB / 0.7302 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.7249, allocations: 263.9 kB / 0.7304 GB, free: 4.312 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004062/0.729, allocations: 1.685 MB / 0.7321 GB, free: 3.887 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.729, allocations: 0 / 0.7321 GB, free: 3.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.645e-06/0.729, allocations: 0 / 0.7321 GB, free: 3.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001627/0.7292, allocations: 1.625 kB / 0.7321 GB, free: 3.887 MB / 0.545 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.004854/0.734, allocations: 1.507 MB / 0.7335 GB, free: 2.883 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.7341, allocations: 9.562 kB / 0.7336 GB, free: 2.883 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.7357, allocations: 254.1 kB / 0.7338 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.7373, allocations: 0.8638 MB / 0.7346 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.7374, allocations: 138.8 kB / 0.7348 GB, free: 2.148 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.7376, allocations: 147.5 kB / 0.7349 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/0.7403, allocations: 1.462 MB / 0.7363 GB, free: 1.445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.7403, allocations: 0 / 0.7363 GB, free: 1.445 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.7405, allocations: 62 kB / 0.7364 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.105e-05/0.7405, allocations: 37.12 kB / 0.7364 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002748/0.7433, allocations: 1.493 MB / 0.7379 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006952/0.7503, allocations: 3.972 MB / 0.7418 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.7518, allocations: 0.9012 MB / 0.7427 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.7524, allocations: 377 kB / 0.743 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-05/0.7525, allocations: 36.8 kB / 0.743 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009794/0.7535, allocations: 0.5461 MB / 0.7436 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=93): time 2.725e-06/0.7535, allocations: 4 kB / 0.7436 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93): time 0.003213/0.7567, allocations: 1.38 MB / 0.7449 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.7568, allocations: 192.9 kB / 0.7451 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.758, allocations: 0.7589 MB / 0.7459 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-05/0.7581, allocations: 45.69 kB / 0.7459 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006024/0.7587, allocations: 0.5737 MB / 0.7465 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.759, allocations: 311.4 kB / 0.7468 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.759, allocations: 24 kB / 0.7468 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7592, allocations: 338 kB / 0.7471 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/0.7599, allocations: 325.8 kB / 0.7474 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007507/0.7606, allocations: 439.9 kB / 0.7478 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.7614, allocations: 386.9 kB / 0.7482 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.7614, allocations: 0 / 0.7482 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002228/0.7636, allocations: 1.032 MB / 0.7492 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.7636, allocations: 7.984 kB / 0.7492 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.7637, allocations: 0 / 0.7492 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005348/0.7642, allocations: 84.84 kB / 0.7493 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008398/0.7651, allocations: 207.7 kB / 0.7495 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.767, allocations: 1.528 MB / 0.751 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008758/0.7679, allocations: 108.2 kB / 0.7511 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.69e-05/0.768, allocations: 49.33 kB / 0.7511 GB, free: 4.555 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.0007737/0.7687, allocations: 325.6 kB / 0.7515 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.7689, allocations: 98.78 kB / 0.7515 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.7716, allocations: 1.304 MB / 0.7528 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.7717, allocations: 8 kB / 0.7528 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7717, allocations: 0 / 0.7528 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.7717, allocations: 11.97 kB / 0.7528 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/0.7756, allocations: 2.502 MB / 0.7553 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.7756, allocations: 7.984 kB / 0.7553 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/0.7763, allocations: 179.7 kB / 0.7555 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/0.7768, allocations: 80.84 kB / 0.7555 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.7769, allocations: 31.91 kB / 0.7556 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.7786, allocations: 1.556 MB / 0.7571 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7786, allocations: 0 / 0.7571 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.7808, allocations: 1.117 MB / 0.7582 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005754/0.7814, allocations: 335.3 kB / 0.7585 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.7815, allocations: 28 kB / 0.7585 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006345/0.7822, allocations: 71.94 kB / 0.7586 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.7823, allocations: 76.89 kB / 0.7587 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.522e-05/0.7824, allocations: 43.91 kB / 0.7587 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007319/0.7832, allocations: 0.5536 MB / 0.7592 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7832, allocations: 0 / 0.7592 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001082/0.7843, allocations: 406.5 kB / 0.7596 GB, free: 11.59 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 (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.001275/0.7855, allocations: 0.5858 MB / 0.7602 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.7873, allocations: 0.9715 MB / 0.7612 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.7873, allocations: 3.938 kB / 0.7612 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009499/0.7883, allocations: 0.5824 MB / 0.7617 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.7896, allocations: 269.5 kB / 0.762 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005148/0.7948, allocations: 2.925 MB / 0.7648 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008503/0.7957, allocations: 1.165 MB / 0.766 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001105/0.7968, allocations: 287.8 kB / 0.7663 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.7971, allocations: 119.4 kB / 0.7664 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.7971, allocations: 7.938 kB / 0.7664 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of Templates: time 0.02918/0.8263, allocations: 15.96 MB / 0.782 GB, free: 5.02 MB / 0.5919 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)