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.004967/0.004967, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.00108/0.00108, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7118/0.7118, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001163, allocations: 62.84 kB / 0.5813 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1781, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01987/0.198, allocations: 20.75 MB / 0.6799 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00771/0.2058, allocations: 4.938 MB / 0.6848 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007809/0.2066, allocations: 19.88 kB / 0.6848 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009163/0.2076, allocations: 278 kB / 0.685 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.21, allocations: 0.8177 MB / 0.6858 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.212, allocations: 0.716 MB / 0.6865 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.2137, allocations: 1.384 MB / 0.6879 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005596/0.2142, allocations: 444.4 kB / 0.6883 GB, free: 96 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008181/0.2151, allocations: 0.5642 MB / 0.6889 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005206/0.2156, allocations: 450.1 kB / 0.6893 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.855e-05/0.2157, allocations: 44 kB / 0.6893 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.2168, allocations: 0.6355 MB / 0.69 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.217, allocations: 119.5 kB / 0.6901 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.2172, allocations: 286.5 kB / 0.6903 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.2183, allocations: 0.8522 MB / 0.6912 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2183, allocations: 0 / 0.6912 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2184, allocations: 0 / 0.6912 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.2184, allocations: 0 / 0.6912 GB, free: 13.15 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.001426/0.2198, allocations: 0.9452 MB / 0.6921 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2199, allocations: 12.03 kB / 0.6921 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.22, allocations: 68.52 kB / 0.6922 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.2207, allocations: 487 kB / 0.6926 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.2207, allocations: 20.66 kB / 0.6927 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.2208, allocations: 40 kB / 0.6927 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.2214, allocations: 306 kB / 0.693 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2214, allocations: 3.938 kB / 0.693 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.2215, allocations: 16 kB / 0.693 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.2215, allocations: 8 kB / 0.693 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.2221, allocations: 262.4 kB / 0.6933 GB, free: 10.92 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.001936/0.224, allocations: 1.345 MB / 0.6946 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.2245, allocations: 254.5 kB / 0.6948 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.2248, allocations: 140.7 kB / 0.695 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.2252, allocations: 0.4908 MB / 0.6954 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.2252, allocations: 34.5 kB / 0.6955 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.2252, allocations: 4 kB / 0.6955 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001619/0.2268, allocations: 0.5578 MB / 0.696 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.2269, allocations: 55.41 kB / 0.6961 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.2274, allocations: 478 kB / 0.6965 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.2274, allocations: 33.7 kB / 0.6966 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.2276, allocations: 244.7 kB / 0.6968 GB, free: 7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.2276, allocations: 87.23 kB / 0.6969 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.2278, allocations: 73.67 kB / 0.6969 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2279, allocations: 358.8 kB / 0.6973 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.2282, allocations: 120.8 kB / 0.6974 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.2285, allocations: 185 kB / 0.6976 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.2291, allocations: 279.2 kB / 0.6978 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2291, allocations: 0 / 0.6978 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001439/0.2306, allocations: 496.9 kB / 0.6983 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2306, allocations: 9.875 kB / 0.6983 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2306, allocations: 0 / 0.6983 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.231, allocations: 52.81 kB / 0.6984 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.2313, allocations: 71.89 kB / 0.6984 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004011/0.2317, allocations: 0.5679 MB / 0.699 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.2321, allocations: 47.73 kB / 0.699 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.2322, allocations: 19.98 kB / 0.6991 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003933/0.2326, allocations: 243.9 kB / 0.6993 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003204/0.2329, allocations: 178.5 kB / 0.6995 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005411/0.2335, allocations: 253.4 kB / 0.6997 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.2335, allocations: 0 / 0.6997 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007151/0.2342, allocations: 379.3 kB / 0.7001 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.2342, allocations: 7.938 kB / 0.7001 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2342, allocations: 3.984 kB / 0.7001 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/0.2342, allocations: 4 kB / 0.7001 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.2346, allocations: 79.89 kB / 0.7002 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.2346, allocations: 4 kB / 0.7002 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.235, allocations: 43.84 kB / 0.7002 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.235, allocations: 15.98 kB / 0.7002 GB, free: 3.375 MB / 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.0001278/0.2352, allocations: 200.1 kB / 0.7004 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.2353, allocations: 59.61 kB / 0.7005 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008962/0.2362, allocations: 429.3 kB / 0.7009 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.2362, allocations: 4 kB / 0.7009 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2362, allocations: 0 / 0.7009 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2362, allocations: 3.984 kB / 0.7009 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.2376, allocations: 0.9381 MB / 0.7018 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.2376, allocations: 4 kB / 0.7018 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.2378, allocations: 47.91 kB / 0.7019 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/0.238, allocations: 40.83 kB / 0.7019 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.238, allocations: 8.109 kB / 0.7019 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003241/0.2383, allocations: 0.5639 MB / 0.7025 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2383, allocations: 11.97 kB / 0.7025 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007504/0.2391, allocations: 499.3 kB / 0.7029 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.2393, allocations: 164.6 kB / 0.7031 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.2393, allocations: 11.94 kB / 0.7031 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.2396, allocations: 23.97 kB / 0.7031 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.2397, allocations: 19.97 kB / 0.7031 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.2397, allocations: 16 kB / 0.7032 GB, free: 188 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003328/0.2401, allocations: 318.9 kB / 0.7035 GB, free: 15.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2401, allocations: 0 / 0.7035 GB, free: 15.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007485/0.2408, allocations: 255.5 kB / 0.7037 GB, free: 15.62 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.0005544/0.2414, allocations: 247.3 kB / 0.7039 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.2426, allocations: 471.3 kB / 0.7044 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2426, allocations: 0 / 0.7044 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.243, allocations: 160.1 kB / 0.7045 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.244, allocations: 231.8 kB / 0.7048 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.2453, allocations: 0.8436 MB / 0.7056 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.2457, allocations: 0.8549 MB / 0.7064 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003525/0.246, allocations: 116.1 kB / 0.7065 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.331e-05/0.2461, allocations: 39.44 kB / 0.7066 GB, free: 12.63 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.2461, allocations: 3.938 kB / 0.7066 GB, free: 12.62 MB / 0.545 GB Notification: Performance of Templates: time 0.01614/0.2623, allocations: 10.18 MB / 0.7165 GB, free: 2.629 MB / 0.545 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)