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.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00855/0.00855, allocations: 106.5 kB / 15.74 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 189.9 kB / 16.67 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8231/0.8231, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.23 kB / 0.5813 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1931, allocations: 80.21 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.0211/0.2142, allocations: 20.75 MB / 0.6799 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0076/0.2219, allocations: 4.935 MB / 0.6847 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007401/0.2227, allocations: 19.88 kB / 0.6848 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008573/0.2235, allocations: 278 kB / 0.685 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.2259, allocations: 0.8628 MB / 0.6859 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.2279, allocations: 0.7163 MB / 0.6866 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.2296, allocations: 1.38 MB / 0.6879 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005719/0.2302, allocations: 448.3 kB / 0.6883 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009392/0.2311, allocations: 0.5837 MB / 0.6889 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000552/0.2317, allocations: 438.2 kB / 0.6893 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.68e-05/0.2317, allocations: 40 kB / 0.6894 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.2329, allocations: 0.6355 MB / 0.69 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.2331, allocations: 127.4 kB / 0.6901 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.2334, allocations: 290.5 kB / 0.6904 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.2345, allocations: 0.849 MB / 0.6912 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2345, allocations: 0 / 0.6912 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.607e-06/0.2345, allocations: 7.922 kB / 0.6912 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.2345, allocations: 0 / 0.6912 GB, free: 9.867 MB / 0.5294 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.001562/0.2361, allocations: 0.9188 MB / 0.6921 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2362, allocations: 8.031 kB / 0.6921 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.2363, allocations: 64.19 kB / 0.6922 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007437/0.237, allocations: 482.5 kB / 0.6927 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.2371, allocations: 20.66 kB / 0.6927 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.2371, allocations: 39.94 kB / 0.6927 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/0.2378, allocations: 317.9 kB / 0.693 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2378, allocations: 0 / 0.693 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.2378, allocations: 8 kB / 0.693 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.2379, allocations: 8 kB / 0.693 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.2385, allocations: 258.4 kB / 0.6933 GB, free: 7.672 MB / 0.5294 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.002088/0.2406, allocations: 1.352 MB / 0.6946 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.2411, allocations: 254.5 kB / 0.6948 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.2414, allocations: 136.8 kB / 0.695 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004113/0.2418, allocations: 0.4908 MB / 0.6954 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2418, allocations: 38.48 kB / 0.6955 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.392e-06/0.2418, allocations: 0 / 0.6955 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.00177/0.2436, allocations: 0.5572 MB / 0.696 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.2437, allocations: 51.41 kB / 0.6961 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.2443, allocations: 470.1 kB / 0.6965 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.2443, allocations: 33.7 kB / 0.6966 GB, free: 4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.2445, allocations: 252.4 kB / 0.6968 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.877e-05/0.2446, allocations: 86.69 kB / 0.6969 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.2447, allocations: 73.67 kB / 0.697 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2449, allocations: 358.8 kB / 0.6973 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.2452, allocations: 120.8 kB / 0.6974 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.2456, allocations: 181 kB / 0.6976 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.2462, allocations: 271.8 kB / 0.6978 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2462, allocations: 4 kB / 0.6978 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001521/0.2477, allocations: 493.7 kB / 0.6983 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2478, allocations: 8 kB / 0.6983 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2478, allocations: 0 / 0.6983 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.2482, allocations: 56.88 kB / 0.6984 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.2485, allocations: 67.89 kB / 0.6984 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004723/0.249, allocations: 0.5679 MB / 0.699 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.2495, allocations: 47.64 kB / 0.699 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.2495, allocations: 19.98 kB / 0.6991 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004337/0.2499, allocations: 239.8 kB / 0.6993 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003405/0.2503, allocations: 178.7 kB / 0.6995 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005587/0.2509, allocations: 260.6 kB / 0.6997 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.2509, allocations: 0 / 0.6997 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007692/0.2517, allocations: 382.2 kB / 0.7001 GB, free: 292 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.2517, allocations: 9.344 kB / 0.7001 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-06/0.2517, allocations: 0 / 0.7001 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.2517, allocations: 4 kB / 0.7001 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.2521, allocations: 75.89 kB / 0.7002 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.2521, allocations: 8 kB / 0.7002 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.2525, allocations: 47.7 kB / 0.7002 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.2525, allocations: 15.98 kB / 0.7002 GB, free: 132 kB / 0.5294 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.0001636/0.2527, allocations: 196.2 kB / 0.7004 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.2528, allocations: 47.38 kB / 0.7005 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009382/0.2537, allocations: 429.2 kB / 0.7009 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.2538, allocations: 7.984 kB / 0.7009 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2538, allocations: 0 / 0.7009 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2538, allocations: 0 / 0.7009 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.2553, allocations: 0.9515 MB / 0.7018 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2553, allocations: 3.938 kB / 0.7018 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.2555, allocations: 47.95 kB / 0.7019 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/0.2557, allocations: 44.83 kB / 0.7019 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.2557, allocations: 11.94 kB / 0.7019 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003719/0.2561, allocations: 0.5641 MB / 0.7025 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2561, allocations: 0 / 0.7025 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.2569, allocations: 0.4911 MB / 0.7029 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.2571, allocations: 156.4 kB / 0.7031 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.2572, allocations: 7.938 kB / 0.7031 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.2575, allocations: 23.97 kB / 0.7031 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.2576, allocations: 27.97 kB / 0.7031 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.2576, allocations: 12 kB / 0.7032 GB, free: 12.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003528/0.258, allocations: 318.9 kB / 0.7035 GB, free: 12.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.258, allocations: 0 / 0.7035 GB, free: 12.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007523/0.2587, allocations: 251.5 kB / 0.7037 GB, free: 12.39 MB / 0.545 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.0005599/0.2593, allocations: 245.9 kB / 0.7039 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.2605, allocations: 474.3 kB / 0.7044 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2605, allocations: 3.938 kB / 0.7044 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.2609, allocations: 171.7 kB / 0.7046 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.262, allocations: 218.5 kB / 0.7048 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.2635, allocations: 0.8253 MB / 0.7056 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.264, allocations: 0.8588 MB / 0.7064 GB, free: 9.562 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003971/0.2644, allocations: 112.1 kB / 0.7065 GB, free: 9.453 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.2645, allocations: 43.42 kB / 0.7066 GB, free: 9.41 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.2645, allocations: 0 / 0.7066 GB, free: 9.41 MB / 0.545 GB Notification: Performance of Templates: time 0.01775/0.2823, allocations: 10.18 MB / 0.7165 GB, free: 15.39 MB / 0.5606 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)