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.001262/0.001262, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001519/0.001519, allocations: 215.9 kB / 23.01 MB, free: 4.609 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.074 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.8482/0.8482, allocations: 134 MB / 447.2 MB, free: 10.25 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.00198/0.00198, allocations: 71.06 kB / 0.6198 GB, free: 6.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1876, allocations: 85.9 MB / 0.7036 GB, free: 0.9258 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02819/0.2158, allocations: 21.23 MB / 0.7244 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008137/0.2239, allocations: 4.982 MB / 0.7292 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008398/0.2248, allocations: 27.75 kB / 0.7293 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.2258, allocations: 282 kB / 0.7295 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.2285, allocations: 0.8735 MB / 0.7304 GB, free: 5.445 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.2307, allocations: 0.7274 MB / 0.7311 GB, free: 4.727 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.2331, allocations: 1.414 MB / 0.7325 GB, free: 3.312 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007987/0.2339, allocations: 349 kB / 0.7328 GB, free: 2.965 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.2352, allocations: 0.5994 MB / 0.7334 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009586/0.2362, allocations: 474 kB / 0.7339 GB, free: 1.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.2363, allocations: 36 kB / 0.7339 GB, free: 1.863 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.2378, allocations: 0.6511 MB / 0.7345 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.238, allocations: 131.4 kB / 0.7347 GB, free: 1.082 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004553/0.2385, allocations: 286.5 kB / 0.7349 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.2401, allocations: 0.8639 MB / 0.7358 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2401, allocations: 8 kB / 0.7358 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2401, allocations: 0 / 0.7358 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.751e-05/0.2402, allocations: 0 / 0.7358 GB, free: 15.93 MB / 0.5606 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.001942/0.2421, allocations: 0.8737 MB / 0.7366 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2422, allocations: 8.031 kB / 0.7366 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.2423, allocations: 64.56 kB / 0.7367 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008817/0.2432, allocations: 423.8 kB / 0.7371 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.2432, allocations: 24.66 kB / 0.7371 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/0.2433, allocations: 36 kB / 0.7372 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006919/0.244, allocations: 310 kB / 0.7375 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.244, allocations: 0 / 0.7375 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.244, allocations: 12 kB / 0.7375 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.244, allocations: 8 kB / 0.7375 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006567/0.2447, allocations: 258.4 kB / 0.7377 GB, free: 13.87 MB / 0.5606 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.002458/0.2472, allocations: 1.303 MB / 0.739 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.2477, allocations: 242.4 kB / 0.7392 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.248, allocations: 131 kB / 0.7394 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.2482, allocations: 51.95 kB / 0.7394 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.2483, allocations: 42.72 kB / 0.7394 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.2483, allocations: 0 / 0.7394 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.001804/0.2501, allocations: 0.4978 MB / 0.7399 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.2501, allocations: 55.41 kB / 0.74 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.2507, allocations: 462.2 kB / 0.7404 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.2507, allocations: 33.7 kB / 0.7405 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.251, allocations: 252.6 kB / 0.7407 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/0.251, allocations: 83.22 kB / 0.7408 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.2512, allocations: 77.64 kB / 0.7408 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2513, allocations: 362.8 kB / 0.7412 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.2517, allocations: 124.5 kB / 0.7413 GB, free: 10 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.252, allocations: 185 kB / 0.7415 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/0.2527, allocations: 263.8 kB / 0.7417 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2527, allocations: 0 / 0.7417 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001627/0.2543, allocations: 491.5 kB / 0.7422 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.2543, allocations: 8 kB / 0.7422 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2543, allocations: 4 kB / 0.7422 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003783/0.2547, allocations: 48.81 kB / 0.7423 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.2551, allocations: 71.89 kB / 0.7423 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005051/0.2556, allocations: 0.5718 MB / 0.7429 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.256, allocations: 47.81 kB / 0.7429 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.2561, allocations: 19.98 kB / 0.743 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004618/0.2565, allocations: 236.9 kB / 0.7432 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003603/0.2569, allocations: 178.6 kB / 0.7434 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005756/0.2575, allocations: 261.3 kB / 0.7436 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.684e-06/0.2575, allocations: 0 / 0.7436 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008259/0.2583, allocations: 380.1 kB / 0.744 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2583, allocations: 7.938 kB / 0.744 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.2583, allocations: 0 / 0.744 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.431e-06/0.2583, allocations: 4 kB / 0.744 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.2587, allocations: 79.88 kB / 0.7441 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2587, allocations: 4.156 kB / 0.7441 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.2592, allocations: 51.83 kB / 0.7441 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.2592, allocations: 12 kB / 0.7441 GB, free: 7.031 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.0001676/0.2594, allocations: 192.2 kB / 0.7443 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.2595, allocations: 55.61 kB / 0.7444 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009921/0.2605, allocations: 428 kB / 0.7448 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.2605, allocations: 8 kB / 0.7448 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2605, allocations: 4 kB / 0.7448 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2605, allocations: 0 / 0.7448 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.2621, allocations: 0.9153 MB / 0.7457 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2621, allocations: 0 / 0.7457 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.2624, allocations: 56.17 kB / 0.7457 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/0.2626, allocations: 44.81 kB / 0.7458 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.2626, allocations: 11.98 kB / 0.7458 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004135/0.263, allocations: 0.5523 MB / 0.7463 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.263, allocations: 0 / 0.7463 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008641/0.2639, allocations: 0.5041 MB / 0.7468 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.2641, allocations: 75.56 kB / 0.7469 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.2641, allocations: 15.92 kB / 0.7469 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.2645, allocations: 23.97 kB / 0.7469 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.2645, allocations: 19.97 kB / 0.7469 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.2646, allocations: 15.98 kB / 0.747 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003909/0.265, allocations: 326.8 kB / 0.7473 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.265, allocations: 4 kB / 0.7473 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008055/0.2658, allocations: 247.5 kB / 0.7475 GB, free: 3.418 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.0004467/0.2662, allocations: 239.3 kB / 0.7477 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.2674, allocations: 448.9 kB / 0.7482 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2674, allocations: 0 / 0.7482 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.2679, allocations: 166.6 kB / 0.7483 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.269, allocations: 211.2 kB / 0.7485 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.2707, allocations: 0.8775 MB / 0.7494 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.2712, allocations: 0.847 MB / 0.7502 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.2714, allocations: 47.44 kB / 0.7503 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.2714, allocations: 0 / 0.7503 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of Templates: time 0.3927/0.6641, allocations: 10.21 MB / 0.7602 GB, free: 46.36 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: 10.190699545200914] Failed to read output from testmodel.py, exit status != 0: 0.6723961008246988 0.686167816 0.44303760099999995 Calling exit ...