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.001969/0.001969, allocations: 170.4 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.773/0.773, allocations: 130.7 MB / 138.7 MB, free: 3.578 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.5 MB / 391.8 MB, free: 14.17 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.001557/0.001557, allocations: 96.09 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.152e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5034, allocations: 81.57 MB / 0.6282 GB, free: 42.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.829/1.333, allocations: 351.7 MB / 0.9716 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/1.333, allocations: 90.64 kB / 0.9717 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9718/2.305, allocations: 254.8 MB / 1.221 GB, free: 92.64 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.263e-06/2.305, allocations: 0 / 1.221 GB, free: 92.64 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.806e-05/2.305, allocations: 19.94 kB / 1.221 GB, free: 92.62 MB / 0.6667 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.001651/2.307, allocations: 0.8372 MB / 1.221 GB, free: 91.73 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/2.307, allocations: 8.031 kB / 1.221 GB, free: 91.73 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/2.307, allocations: 67.2 kB / 1.221 GB, free: 91.66 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008649/2.308, allocations: 471.5 kB / 1.222 GB, free: 91.16 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/2.308, allocations: 12 kB / 1.222 GB, free: 91.15 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/2.308, allocations: 20 kB / 1.222 GB, free: 91.13 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003609/2.308, allocations: 193.5 kB / 1.222 GB, free: 90.94 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/2.309, allocations: 226.2 kB / 1.222 GB, free: 90.71 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/2.309, allocations: 0 / 1.222 GB, free: 90.71 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/2.309, allocations: 0 / 1.222 GB, free: 90.71 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/2.309, allocations: 8 kB / 1.222 GB, free: 90.71 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.001889/2.311, allocations: 1.251 MB / 1.224 GB, free: 89.35 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/2.311, allocations: 237.5 kB / 1.224 GB, free: 89.11 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/2.311, allocations: 100.8 kB / 1.224 GB, free: 89.01 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/2.311, allocations: 0.4947 MB / 1.224 GB, free: 88.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/2.312, allocations: 34.84 kB / 1.224 GB, free: 88.36 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 1.864e-06/2.312, allocations: 0 / 1.224 GB, free: 88.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.0006801/2.312, allocations: 268.7 kB / 1.225 GB, free: 88.09 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/2.312, allocations: 51.41 kB / 1.225 GB, free: 88.03 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/2.313, allocations: 353.2 kB / 1.225 GB, free: 87.68 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/2.313, allocations: 29.7 kB / 1.225 GB, free: 87.64 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/2.313, allocations: 248.6 kB / 1.225 GB, free: 87.39 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/2.313, allocations: 82.69 kB / 1.225 GB, free: 87.31 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/2.313, allocations: 0 / 1.225 GB, free: 87.31 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.86e-05/2.313, allocations: 366.7 kB / 1.226 GB, free: 86.94 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/2.313, allocations: 83.98 kB / 1.226 GB, free: 86.86 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/2.313, allocations: 179 kB / 1.226 GB, free: 86.64 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/2.314, allocations: 116.8 kB / 1.226 GB, free: 86.53 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/2.314, allocations: 4 kB / 1.226 GB, free: 86.53 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006571/2.314, allocations: 340.2 kB / 1.226 GB, free: 86.19 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/2.314, allocations: 275 kB / 1.227 GB, free: 85.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/2.314, allocations: 0 / 1.227 GB, free: 85.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002127/2.315, allocations: 40.83 kB / 1.227 GB, free: 85.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/2.315, allocations: 71.89 kB / 1.227 GB, free: 85.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003321/2.315, allocations: 0.5679 MB / 1.227 GB, free: 85.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/2.316, allocations: 63.66 kB / 1.227 GB, free: 85.13 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/2.316, allocations: 24 kB / 1.227 GB, free: 85.11 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/2.316, allocations: 4 kB / 1.227 GB, free: 85.11 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004386/2.316, allocations: 219.8 kB / 1.228 GB, free: 84.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/2.316, allocations: 0 / 1.228 GB, free: 84.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.461e-06/2.316, allocations: 4 kB / 1.228 GB, free: 84.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/2.317, allocations: 87.88 kB / 1.228 GB, free: 84.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/2.317, allocations: 4 kB / 1.228 GB, free: 84.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/2.317, allocations: 55.73 kB / 1.228 GB, free: 84.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/2.317, allocations: 15.98 kB / 1.228 GB, free: 84.73 MB / 0.6667 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: checkValve_m_flow.a:VARIABLE(protected = true ) "Scaled pressure variable" type: Real 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 () * 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.0001432/2.317, allocations: 114.6 kB / 1.228 GB, free: 84.61 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/2.317, allocations: 47.39 kB / 1.228 GB, free: 84.56 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006273/2.318, allocations: 343.5 kB / 1.228 GB, free: 84.22 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/2.318, allocations: 4 kB / 1.228 GB, free: 84.21 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/2.318, allocations: 0 / 1.228 GB, free: 84.21 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/2.318, allocations: 3.984 kB / 1.228 GB, free: 84.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/2.319, allocations: 0.8093 MB / 1.229 GB, free: 83.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/2.319, allocations: 8.031 kB / 1.229 GB, free: 83.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/2.319, allocations: 51.91 kB / 1.229 GB, free: 83.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/2.32, allocations: 36.83 kB / 1.229 GB, free: 83.25 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/2.32, allocations: 4 kB / 1.229 GB, free: 83.24 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002219/2.32, allocations: 0.5602 MB / 1.23 GB, free: 82.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/2.32, allocations: 4.031 kB / 1.23 GB, free: 82.65 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/2.32, allocations: 474 kB / 1.23 GB, free: 82.13 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/2.32, allocations: 156.4 kB / 1.23 GB, free: 81.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/2.321, allocations: 0 / 1.23 GB, free: 81.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/2.321, allocations: 39.95 kB / 1.23 GB, free: 81.92 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/2.321, allocations: 24.16 kB / 1.23 GB, free: 81.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/2.321, allocations: 15.98 kB / 1.23 GB, free: 81.88 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002368/2.321, allocations: 271 kB / 1.231 GB, free: 81.62 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/2.321, allocations: 0 / 1.231 GB, free: 81.62 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008346/2.322, allocations: 263.5 kB / 1.231 GB, free: 81.36 MB / 0.6667 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 () * 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.000694/2.323, allocations: 368.3 kB / 1.231 GB, free: 81 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000694/2.324, allocations: 378.3 kB / 1.232 GB, free: 80.63 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/2.324, allocations: 0 / 1.232 GB, free: 80.63 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/2.324, allocations: 135.8 kB / 1.232 GB, free: 80.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/2.325, allocations: 239.5 kB / 1.232 GB, free: 80.27 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/2.326, allocations: 0.5557 MB / 1.233 GB, free: 79.67 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/2.326, allocations: 0.8674 MB / 1.233 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005878/2.327, allocations: 128 kB / 1.233 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.623e-05/2.327, allocations: 39.36 kB / 1.234 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/2.327, allocations: 0 / 1.234 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of Templates: time 0.01828/2.345, allocations: 10.1 MB / 1.243 GB, free: 68.65 MB / 0.6667 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)