Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0077/0.0077, allocations: 169.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7748/0.7748, allocations: 132.3 MB / 148.1 MB, free: 252 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.9/1.9, allocations: 223.2 MB / 403.2 MB, free: 6.73 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 90.86 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005848/0.0005849, allocations: 8 kB / 0.5641 GB, free: 2.109 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.686, allocations: 81.58 MB / 0.6437 GB, free: 39.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.759, allocations: 352.4 MB / 0.9879 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004899/1.76, allocations: 90.44 kB / 0.988 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.191/2.951, allocations: 257.4 MB / 1.239 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/2.951, allocations: 0 / 1.239 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.485e-05/2.951, allocations: 19.98 kB / 1.239 GB, free: 88.23 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002198/2.953, allocations: 0.9344 MB / 1.24 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/2.953, allocations: 8.031 kB / 1.24 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/2.953, allocations: 67.2 kB / 1.24 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009182/2.954, allocations: 471.5 kB / 1.241 GB, free: 86.67 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/2.954, allocations: 28.66 kB / 1.241 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/2.954, allocations: 32 kB / 1.241 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/2.955, allocations: 314 kB / 1.241 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/2.955, allocations: 0 / 1.241 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/2.955, allocations: 15.98 kB / 1.241 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/2.955, allocations: 4 kB / 1.241 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/2.956, allocations: 274.4 kB / 1.241 GB, free: 86.01 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/2.958, allocations: 1.329 MB / 1.243 GB, free: 84.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/2.959, allocations: 285.6 kB / 1.243 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005233/2.959, allocations: 0.4947 MB / 1.244 GB, free: 83.67 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/2.959, allocations: 38.53 kB / 1.244 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.575e-06/2.959, allocations: 0 / 1.244 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001842/2.961, allocations: 0.5755 MB / 1.244 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/2.961, allocations: 63.34 kB / 1.244 GB, free: 82.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/2.962, allocations: 405.4 kB / 1.245 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/2.962, allocations: 29.7 kB / 1.245 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/2.962, allocations: 248.9 kB / 1.245 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.102e-05/2.962, allocations: 86.75 kB / 1.245 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/2.962, allocations: 4 kB / 1.245 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000183/2.962, allocations: 358.8 kB / 1.245 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/2.963, allocations: 119.9 kB / 1.245 GB, free: 81.69 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/2.963, allocations: 227.1 kB / 1.246 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/2.963, allocations: 138.4 kB / 1.246 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/2.963, allocations: 0 / 1.246 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009447/2.964, allocations: 418.8 kB / 1.246 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/2.964, allocations: 282.8 kB / 1.246 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/2.964, allocations: 4 kB / 1.246 GB, free: 80.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/2.965, allocations: 36.83 kB / 1.246 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/2.965, allocations: 83.88 kB / 1.246 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005121/2.966, allocations: 0.5563 MB / 1.247 GB, free: 79.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006301/2.966, allocations: 79.64 kB / 1.247 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/2.966, allocations: 15.98 kB / 1.247 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/2.966, allocations: 7.938 kB / 1.247 GB, free: 79.78 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006645/2.967, allocations: 303.7 kB / 1.247 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/2.967, allocations: 0 / 1.247 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/2.967, allocations: 4 kB / 1.247 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/2.967, allocations: 91.88 kB / 1.248 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/2.967, allocations: 0 / 1.248 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/2.968, allocations: 67.69 kB / 1.248 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/2.968, allocations: 16 kB / 1.248 GB, free: 79.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003986/2.968, allocations: 253 kB / 1.248 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/2.968, allocations: 51.3 kB / 1.248 GB, free: 79 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009735/2.969, allocations: 432.5 kB / 1.248 GB, free: 78.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/2.969, allocations: 4 kB / 1.248 GB, free: 78.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/2.969, allocations: 0 / 1.248 GB, free: 78.56 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/2.969, allocations: 0 / 1.248 GB, free: 78.56 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/2.971, allocations: 0.9535 MB / 1.249 GB, free: 77.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/2.971, allocations: 4 kB / 1.249 GB, free: 77.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/2.971, allocations: 51.95 kB / 1.249 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/2.972, allocations: 43.09 kB / 1.249 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/2.972, allocations: 11.98 kB / 1.249 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004058/2.972, allocations: 0.568 MB / 1.25 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.858e-05/2.972, allocations: 0 / 1.25 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/2.973, allocations: 0.543 MB / 1.25 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/2.973, allocations: 160.5 kB / 1.251 GB, free: 76.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/2.973, allocations: 4 kB / 1.251 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/2.974, allocations: 43.95 kB / 1.251 GB, free: 76.01 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.071e-05/2.974, allocations: 27.95 kB / 1.251 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/2.974, allocations: 19.98 kB / 1.251 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003424/2.974, allocations: 318.8 kB / 1.251 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/2.974, allocations: 3.938 kB / 1.251 GB, free: 75.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001109/2.975, allocations: 279.6 kB / 1.251 GB, free: 75.38 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000926/2.976, allocations: 371 kB / 1.252 GB, free: 75.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001168/2.977, allocations: 482.1 kB / 1.252 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/2.977, allocations: 0 / 1.252 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003887/2.978, allocations: 183.9 kB / 1.252 GB, free: 74.38 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/2.979, allocations: 248.1 kB / 1.252 GB, free: 74.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/2.981, allocations: 0.9754 MB / 1.253 GB, free: 73.13 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/2.981, allocations: 0.8669 MB / 1.254 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004627/2.981, allocations: 116.2 kB / 1.254 GB, free: 72.12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/2.982, allocations: 43.42 kB / 1.254 GB, free: 72.07 MB / 0.6823 GB Notification: Performance of SimCode: time 1.322e-06/2.982, allocations: 0 / 1.254 GB, free: 72.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.01915/3.001, allocations: 11.02 MB / 1.265 GB, free: 61.21 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)