Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.01328/0.01328, allocations: 169.5 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-master/package.mo): time 0.8337/0.8337, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 223.2 MB / 406.9 MB, free: 3.199 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.001256/0.001256, allocations: 90.83 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004006, allocations: 8 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.6813, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.778, allocations: 352.7 MB / 0.9939 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/1.778, allocations: 90.14 kB / 0.994 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.134/2.912, allocations: 257.4 MB / 1.245 GB, free: 78.03 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/2.912, allocations: 0 / 1.245 GB, free: 78.03 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.186e-05/2.912, allocations: 24.11 kB / 1.245 GB, free: 78.01 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.001993/2.914, allocations: 0.9227 MB / 1.246 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/2.914, allocations: 8.031 kB / 1.246 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/2.914, allocations: 71.19 kB / 1.246 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008043/2.915, allocations: 475.4 kB / 1.247 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/2.915, allocations: 28.66 kB / 1.247 GB, free: 76.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/2.915, allocations: 36 kB / 1.247 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/2.916, allocations: 306 kB / 1.247 GB, free: 76.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/2.916, allocations: 3.938 kB / 1.247 GB, free: 76.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/2.916, allocations: 16 kB / 1.247 GB, free: 76.06 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/2.916, allocations: 8 kB / 1.247 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005542/2.916, allocations: 266.5 kB / 1.247 GB, free: 75.8 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.001991/2.918, allocations: 1.341 MB / 1.249 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/2.919, allocations: 272.2 kB / 1.249 GB, free: 74.06 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003744/2.919, allocations: 0.4986 MB / 1.249 GB, free: 73.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/2.919, allocations: 38.59 kB / 1.25 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/2.919, allocations: 0 / 1.25 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001658/2.921, allocations: 0.5701 MB / 1.25 GB, free: 72.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/2.921, allocations: 59.41 kB / 1.25 GB, free: 72.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/2.921, allocations: 397.4 kB / 1.25 GB, free: 72.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/2.921, allocations: 37.7 kB / 1.251 GB, free: 72.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/2.922, allocations: 248.7 kB / 1.251 GB, free: 72.05 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/2.922, allocations: 78.77 kB / 1.251 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/2.922, allocations: 8 kB / 1.251 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001137/2.922, allocations: 358.7 kB / 1.251 GB, free: 71.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/2.922, allocations: 127.6 kB / 1.251 GB, free: 71.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/2.922, allocations: 225.5 kB / 1.252 GB, free: 71.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/2.923, allocations: 150.6 kB / 1.252 GB, free: 71.08 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/2.923, allocations: 0 / 1.252 GB, free: 71.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008271/2.924, allocations: 408.4 kB / 1.252 GB, free: 70.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/2.924, allocations: 281.7 kB / 1.252 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/2.924, allocations: 3.984 kB / 1.252 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/2.924, allocations: 36.83 kB / 1.252 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/2.924, allocations: 75.89 kB / 1.252 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004308/2.925, allocations: 0.5602 MB / 1.253 GB, free: 69.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/2.925, allocations: 75.72 kB / 1.253 GB, free: 69.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/2.925, allocations: 19.94 kB / 1.253 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/2.925, allocations: 5.25 kB / 1.253 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006409/2.926, allocations: 315.6 kB / 1.253 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/2.926, allocations: 0 / 1.253 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-06/2.926, allocations: 144 / 1.253 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/2.926, allocations: 87.88 kB / 1.253 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/2.926, allocations: 8 kB / 1.253 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/2.927, allocations: 71.61 kB / 1.254 GB, free: 69.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/2.927, allocations: 27.97 kB / 1.254 GB, free: 69.08 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.0002634/2.927, allocations: 241.6 kB / 1.254 GB, free: 68.83 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/2.927, allocations: 55.3 kB / 1.254 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008533/2.928, allocations: 434.4 kB / 1.254 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/2.928, allocations: 0 / 1.254 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/2.928, allocations: 4 kB / 1.254 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/2.928, allocations: 3.938 kB / 1.254 GB, free: 68.33 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/2.93, allocations: 0.9531 MB / 1.255 GB, free: 67.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/2.93, allocations: 0 / 1.255 GB, free: 67.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/2.93, allocations: 51.95 kB / 1.255 GB, free: 67.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001644/2.93, allocations: 52.7 kB / 1.255 GB, free: 67.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/2.93, allocations: 8 kB / 1.255 GB, free: 67.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002949/2.93, allocations: 0.5563 MB / 1.256 GB, free: 66.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/2.93, allocations: 3.953 kB / 1.256 GB, free: 66.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006939/2.931, allocations: 0.5412 MB / 1.256 GB, free: 66.01 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/2.931, allocations: 160.3 kB / 1.257 GB, free: 65.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/2.931, allocations: 4 kB / 1.257 GB, free: 65.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/2.932, allocations: 51.89 kB / 1.257 GB, free: 65.78 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/2.932, allocations: 19.97 kB / 1.257 GB, free: 65.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/2.932, allocations: 15.98 kB / 1.257 GB, free: 65.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003023/2.932, allocations: 318.9 kB / 1.257 GB, free: 65.44 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/2.932, allocations: 4 kB / 1.257 GB, free: 65.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009801/2.933, allocations: 271.6 kB / 1.257 GB, free: 65.17 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.0007716/2.934, allocations: 358.7 kB / 1.258 GB, free: 64.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001095/2.935, allocations: 499.4 kB / 1.258 GB, free: 64.33 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.935, allocations: 0 / 1.258 GB, free: 64.33 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003647/2.935, allocations: 172.4 kB / 1.258 GB, free: 64.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/2.937, allocations: 248 kB / 1.258 GB, free: 63.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/2.938, allocations: 0.979 MB / 1.259 GB, free: 62.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/2.938, allocations: 0.8669 MB / 1.26 GB, free: 62.01 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004312/2.939, allocations: 108.7 kB / 1.26 GB, free: 61.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/2.939, allocations: 43.42 kB / 1.26 GB, free: 61.86 MB / 0.6823 GB Notification: Performance of SimCode: time 9.22e-07/2.939, allocations: 0 / 1.26 GB, free: 61.86 MB / 0.6823 GB Notification: Performance of Templates: time 0.01882/2.958, allocations: 11.03 MB / 1.271 GB, free: 50.99 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)