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-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_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.0009975/0.0009975, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001005/0.001005, allocations: 177.3 kB / 15.95 MB, free: 216 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.452/1.452, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.047/1.047, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004189, allocations: 8 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00673/0.2125, allocations: 4.138 MB / 0.5912 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6245/0.837, allocations: 127.7 MB / 0.716 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.8382, allocations: 16.94 kB / 0.716 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004777/0.8387, allocations: 88.62 kB / 0.7161 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.8412, allocations: 0.5417 MB / 0.7166 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.8441, allocations: 0.6979 MB / 0.7173 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002526/0.8466, allocations: 0.9481 MB / 0.7182 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.8483, allocations: 0.9277 MB / 0.7191 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.8496, allocations: 440.8 kB / 0.7195 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008319/0.8505, allocations: 436.6 kB / 0.72 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.8506, allocations: 32.88 kB / 0.72 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.8519, allocations: 297.8 kB / 0.7203 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.8522, allocations: 235.6 kB / 0.7205 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003527/0.8525, allocations: 267.7 kB / 0.7208 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003294/0.8558, allocations: 1.692 MB / 0.7224 GB, free: 11.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8559, allocations: 0 / 0.7224 GB, free: 11.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.667e-06/0.8559, allocations: 0 / 0.7224 GB, free: 11.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.307e-05/0.856, allocations: 0 / 0.7224 GB, free: 11.56 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.00487/0.8609, allocations: 1.505 MB / 0.7239 GB, free: 10.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.8609, allocations: 12.03 kB / 0.7239 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.8624, allocations: 246.2 kB / 0.7241 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.8645, allocations: 0.8709 MB / 0.725 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.8647, allocations: 141 kB / 0.7251 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.8649, allocations: 143.7 kB / 0.7252 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003531/0.8684, allocations: 1.45 MB / 0.7267 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.8685, allocations: 0 / 0.7267 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.8686, allocations: 66.48 kB / 0.7267 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/0.8687, allocations: 37.12 kB / 0.7268 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/0.872, allocations: 1.494 MB / 0.7282 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008653/0.8806, allocations: 3.961 MB / 0.7321 GB, free: 6.574 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.8823, allocations: 0.9116 MB / 0.733 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.8824, allocations: 41.14 kB / 0.733 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.8835, allocations: 0.546 MB / 0.7336 GB, free: 5.973 MB / 0.545 GB Notification: Performance of pre-optimization done (n=93): time 3.296e-06/0.8835, allocations: 0 / 0.7336 GB, free: 5.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=93): time 0.003561/0.8871, allocations: 1.383 MB / 0.7349 GB, free: 4.949 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/0.8872, allocations: 188.9 kB / 0.7351 GB, free: 4.723 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.8885, allocations: 0.759 MB / 0.7358 GB, free: 3.949 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.8886, allocations: 41.7 kB / 0.7359 GB, free: 3.902 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/0.8892, allocations: 0.5814 MB / 0.7364 GB, free: 3.312 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.8895, allocations: 311.5 kB / 0.7367 GB, free: 3.004 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.8895, allocations: 19.94 kB / 0.7367 GB, free: 2.984 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.8897, allocations: 337.9 kB / 0.7371 GB, free: 2.648 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.8903, allocations: 301.8 kB / 0.7374 GB, free: 2.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.8909, allocations: 435.3 kB / 0.7378 GB, free: 1.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.8916, allocations: 366.9 kB / 0.7381 GB, free: 1.539 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.8916, allocations: 4 kB / 0.7381 GB, free: 1.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002201/0.8938, allocations: 0.9774 MB / 0.7391 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.8939, allocations: 8 kB / 0.7391 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.8939, allocations: 0 / 0.7391 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.8945, allocations: 84.83 kB / 0.7392 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008223/0.8953, allocations: 195.7 kB / 0.7394 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/0.898, allocations: 1.539 MB / 0.7409 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.8991, allocations: 115.1 kB / 0.741 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.8992, allocations: 35.97 kB / 0.741 GB, free: 14.44 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0009922/0.9002, allocations: 313.6 kB / 0.7413 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/0.9006, allocations: 102.7 kB / 0.7414 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003379/0.904, allocations: 1.31 MB / 0.7427 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.904, allocations: 15.98 kB / 0.7427 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.904, allocations: 0 / 0.7427 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.9041, allocations: 3.984 kB / 0.7427 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00529/0.9094, allocations: 2.51 MB / 0.7451 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.9094, allocations: 0 / 0.7451 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007997/0.9102, allocations: 187.7 kB / 0.7453 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005533/0.9108, allocations: 84.77 kB / 0.7454 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.541e-05/0.9109, allocations: 27.98 kB / 0.7454 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.9129, allocations: 1.571 MB / 0.747 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.9129, allocations: 4.031 kB / 0.747 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.9156, allocations: 1.117 MB / 0.7481 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008502/0.9164, allocations: 343.3 kB / 0.7484 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004053/0.9168, allocations: 16 kB / 0.7484 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009891/0.9178, allocations: 79.94 kB / 0.7485 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.918, allocations: 68.89 kB / 0.7485 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.9182, allocations: 47.91 kB / 0.7486 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001098/0.9193, allocations: 0.5537 MB / 0.7491 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9193, allocations: 0 / 0.7491 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001696/0.921, allocations: 398.5 kB / 0.7495 GB, free: 5.457 MB / 0.5606 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.001789/0.9228, allocations: 0.5967 MB / 0.7501 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002282/0.9251, allocations: 0.9325 MB / 0.751 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.9251, allocations: 0 / 0.751 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.9263, allocations: 0.594 MB / 0.7516 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.9279, allocations: 251.6 kB / 0.7518 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006903/0.9348, allocations: 2.919 MB / 0.7547 GB, free: 328 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.9362, allocations: 1.193 MB / 0.7558 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001548/0.9378, allocations: 291.9 kB / 0.7561 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/0.9383, allocations: 127.4 kB / 0.7562 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of SimCode: time 1.553e-06/0.9383, allocations: 0 / 0.7562 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of Templates: time 0.03506/0.9734, allocations: 15.97 MB / 0.7718 GB, free: 14.88 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: