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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 99.64 kB / 18.95 MB, free: 2.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 210.4 kB / 22.24 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9152/0.9152, allocations: 134 MB / 446.4 MB, free: 9.902 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.8 kB / 0.619 GB, free: 6.363 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2348, allocations: 85.91 MB / 0.7028 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02712/0.2619, allocations: 19.3 MB / 0.7217 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008434/0.2704, allocations: 4.561 MB / 0.7261 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009089/0.2713, allocations: 23.75 kB / 0.7262 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.2723, allocations: 278 kB / 0.7264 GB, free: 8.301 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.2751, allocations: 0.8591 MB / 0.7273 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.2774, allocations: 0.7177 MB / 0.728 GB, free: 6.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002248/0.2797, allocations: 1.409 MB / 0.7294 GB, free: 5.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008502/0.2805, allocations: 345 kB / 0.7297 GB, free: 4.977 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.282, allocations: 0.6071 MB / 0.7303 GB, free: 4.367 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009888/0.283, allocations: 446 kB / 0.7307 GB, free: 3.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.2831, allocations: 40 kB / 0.7307 GB, free: 3.891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.2845, allocations: 0.5224 MB / 0.7312 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002454/0.2848, allocations: 135.4 kB / 0.7314 GB, free: 3.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004587/0.2852, allocations: 234.9 kB / 0.7316 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.2869, allocations: 0.8483 MB / 0.7324 GB, free: 2.152 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2869, allocations: 0 / 0.7324 GB, free: 2.152 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2869, allocations: 0 / 0.7324 GB, free: 2.152 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.335e-05/0.2869, allocations: 0 / 0.7324 GB, free: 2.152 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002105/0.289, allocations: 0.8776 MB / 0.7333 GB, free: 1.242 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.2891, allocations: 12.03 kB / 0.7333 GB, free: 1.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.2893, allocations: 64.56 kB / 0.7334 GB, free: 1.168 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009036/0.2902, allocations: 411.9 kB / 0.7338 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.2902, allocations: 28.66 kB / 0.7338 GB, free: 0.707 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/0.2903, allocations: 39.94 kB / 0.7338 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007205/0.291, allocations: 331.7 kB / 0.7341 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.291, allocations: 0 / 0.7341 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.291, allocations: 12 kB / 0.7341 GB, free: 332 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.2911, allocations: 8 kB / 0.7342 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/0.2917, allocations: 258.4 kB / 0.7344 GB, free: 64 kB / 0.545 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.002122/0.2938, allocations: 0.8872 MB / 0.7353 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.2944, allocations: 261.1 kB / 0.7355 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.2947, allocations: 120.8 kB / 0.7356 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.2949, allocations: 51.95 kB / 0.7357 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.2949, allocations: 38.56 kB / 0.7357 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.2949, allocations: 0 / 0.7357 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.001828/0.2967, allocations: 483.4 kB / 0.7362 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.2968, allocations: 63.33 kB / 0.7362 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.2973, allocations: 445.9 kB / 0.7367 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.2974, allocations: 29.7 kB / 0.7367 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.2976, allocations: 244.9 kB / 0.7369 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.572e-05/0.2977, allocations: 95.2 kB / 0.737 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.2978, allocations: 77.64 kB / 0.7371 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.298, allocations: 354.8 kB / 0.7374 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.2983, allocations: 124.5 kB / 0.7375 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.2989, allocations: 361 kB / 0.7379 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006678/0.2995, allocations: 274.1 kB / 0.7382 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2995, allocations: 3.938 kB / 0.7382 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001664/0.3012, allocations: 484.7 kB / 0.7386 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3012, allocations: 4 kB / 0.7386 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3012, allocations: 4 kB / 0.7386 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/0.3016, allocations: 56.81 kB / 0.7387 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.3019, allocations: 71.89 kB / 0.7387 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005114/0.3025, allocations: 0.5679 MB / 0.7393 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.3029, allocations: 43.8 kB / 0.7393 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.3029, allocations: 15.98 kB / 0.7394 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004734/0.3034, allocations: 240.1 kB / 0.7396 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005219/0.3039, allocations: 354.7 kB / 0.7399 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006306/0.3045, allocations: 268.9 kB / 0.7402 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.3045, allocations: 3.984 kB / 0.7402 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008082/0.3054, allocations: 369.1 kB / 0.7405 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3054, allocations: 8 kB / 0.7405 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.3054, allocations: 0 / 0.7405 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.07e-06/0.3054, allocations: 3.938 kB / 0.7405 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.3058, allocations: 79.88 kB / 0.7406 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3058, allocations: 4 kB / 0.7406 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.3062, allocations: 51.78 kB / 0.7407 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.3062, allocations: 16 kB / 0.7407 GB, free: 9.32 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.3064, allocations: 196.1 kB / 0.7409 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/0.3065, allocations: 55.61 kB / 0.7409 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.3075, allocations: 416 kB / 0.7413 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.3075, allocations: 11.98 kB / 0.7413 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3075, allocations: 0 / 0.7413 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3075, allocations: 4 kB / 0.7413 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.3091, allocations: 0.8339 MB / 0.7422 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3091, allocations: 0 / 0.7422 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.3093, allocations: 47.97 kB / 0.7422 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001719/0.3095, allocations: 48.89 kB / 0.7423 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3095, allocations: 8 kB / 0.7423 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004129/0.3099, allocations: 0.5562 MB / 0.7428 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.3099, allocations: 7.969 kB / 0.7428 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008685/0.3108, allocations: 0.4918 MB / 0.7433 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.311, allocations: 71.61 kB / 0.7434 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.311, allocations: 12.06 kB / 0.7434 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.3113, allocations: 23.97 kB / 0.7434 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.3114, allocations: 27.89 kB / 0.7434 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.3114, allocations: 8 kB / 0.7434 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003503/0.3118, allocations: 302.9 kB / 0.7437 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3118, allocations: 4 kB / 0.7437 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007798/0.3126, allocations: 259.4 kB / 0.744 GB, free: 5.836 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004053/0.313, allocations: 239.9 kB / 0.7442 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.3142, allocations: 451.6 kB / 0.7446 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.3142, allocations: 4 kB / 0.7446 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.3146, allocations: 163 kB / 0.7448 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.3156, allocations: 201.7 kB / 0.745 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.3172, allocations: 0.839 MB / 0.7458 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.3174, allocations: 250.2 kB / 0.746 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003774/0.3178, allocations: 115.2 kB / 0.7461 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3179, allocations: 39.42 kB / 0.7462 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.3179, allocations: 4 kB / 0.7462 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of Templates: time 0.3994/0.7173, allocations: 10.8 MB / 0.7567 GB, free: 47.47 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.965712394565344] Failed to read output from testmodel.py, exit status != 0: 0.7254102751612663 0.741885112 0.45097749299999995 Calling exit ...