Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001013/0.001013, allocations: 110.4 kB / 16.38 MB, free: 6.477 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.001248/0.001248, allocations: 192.9 kB / 17.32 MB, free: 5.785 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.748/0.748, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 62.91 kB / 0.5862 GB, free: 21.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.158, allocations: 80.93 MB / 0.6652 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02002/0.1781, allocations: 20.74 MB / 0.6855 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006558/0.1847, allocations: 4.955 MB / 0.6903 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/0.1854, allocations: 19.88 kB / 0.6903 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007561/0.1862, allocations: 270.1 kB / 0.6906 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.1883, allocations: 0.8161 MB / 0.6914 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.1902, allocations: 0.7102 MB / 0.6921 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.1919, allocations: 1.384 MB / 0.6934 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005912/0.1925, allocations: 448.3 kB / 0.6939 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009455/0.1935, allocations: 0.5681 MB / 0.6944 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005509/0.194, allocations: 450.1 kB / 0.6949 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.542e-05/0.1941, allocations: 39.98 kB / 0.6949 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.1953, allocations: 0.6316 MB / 0.6955 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1955, allocations: 131.4 kB / 0.6956 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.1958, allocations: 286.5 kB / 0.6959 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1969, allocations: 0.8528 MB / 0.6967 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1969, allocations: 0 / 0.6967 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1969, allocations: 0 / 0.6967 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.1969, allocations: 0 / 0.6967 GB, free: 5.48 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.00152/0.1985, allocations: 0.9188 MB / 0.6976 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1985, allocations: 17.03 kB / 0.6977 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.1986, allocations: 68.12 kB / 0.6977 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006897/0.1993, allocations: 466.7 kB / 0.6982 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1994, allocations: 24.66 kB / 0.6982 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/0.1994, allocations: 39.98 kB / 0.6982 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.2001, allocations: 313.9 kB / 0.6985 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2001, allocations: 0 / 0.6985 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.2001, allocations: 8 kB / 0.6985 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2001, allocations: 8 kB / 0.6985 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005905/0.2007, allocations: 258.4 kB / 0.6988 GB, free: 3.285 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.002057/0.2028, allocations: 1.345 MB / 0.7001 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.2033, allocations: 257.5 kB / 0.7004 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.2036, allocations: 140.7 kB / 0.7005 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003844/0.204, allocations: 0.4947 MB / 0.701 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.204, allocations: 38.5 kB / 0.701 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.204, allocations: 0 / 0.701 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001704/0.2057, allocations: 0.5573 MB / 0.7015 GB, free: 188 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.2058, allocations: 55.34 kB / 0.7016 GB, free: 120 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.2063, allocations: 462.1 kB / 0.702 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.2063, allocations: 37.7 kB / 0.7021 GB, free: 15.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.2065, allocations: 252.4 kB / 0.7023 GB, free: 15.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.2066, allocations: 82.75 kB / 0.7024 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.2067, allocations: 73.69 kB / 0.7025 GB, free: 15.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2068, allocations: 358.8 kB / 0.7028 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.2071, allocations: 124.5 kB / 0.7029 GB, free: 14.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.2075, allocations: 185 kB / 0.7031 GB, free: 14.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/0.2081, allocations: 280.5 kB / 0.7034 GB, free: 14.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2081, allocations: 4 kB / 0.7034 GB, free: 14.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001499/0.2096, allocations: 487.5 kB / 0.7038 GB, free: 13.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2096, allocations: 4 kB / 0.7038 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2096, allocations: 0 / 0.7038 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/0.21, allocations: 52.81 kB / 0.7039 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.2103, allocations: 71.89 kB / 0.704 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004079/0.2108, allocations: 0.5717 MB / 0.7045 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.2112, allocations: 51.66 kB / 0.7046 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.2112, allocations: 11.98 kB / 0.7046 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003987/0.2116, allocations: 236 kB / 0.7048 GB, free: 12.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003312/0.212, allocations: 178.7 kB / 0.705 GB, free: 12.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005759/0.2125, allocations: 271.8 kB / 0.7052 GB, free: 12.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.2126, allocations: 0 / 0.7052 GB, free: 12.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008068/0.2134, allocations: 366 kB / 0.7056 GB, free: 11.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.2134, allocations: 7.938 kB / 0.7056 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.2134, allocations: 0 / 0.7056 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.96e-06/0.2134, allocations: 4 kB / 0.7056 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.2138, allocations: 79.88 kB / 0.7057 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.2138, allocations: 4 kB / 0.7057 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.2142, allocations: 47.8 kB / 0.7057 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.2143, allocations: 12 kB / 0.7057 GB, free: 11.75 MB / 0.545 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.0001403/0.2144, allocations: 196.2 kB / 0.7059 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.2145, allocations: 51.28 kB / 0.706 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009208/0.2154, allocations: 432.9 kB / 0.7064 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.2155, allocations: 4 kB / 0.7064 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2155, allocations: 3.938 kB / 0.7064 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2155, allocations: 3.938 kB / 0.7064 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.2169, allocations: 0.9515 MB / 0.7073 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.2169, allocations: 7.984 kB / 0.7073 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.2172, allocations: 43.97 kB / 0.7074 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.2173, allocations: 48.89 kB / 0.7074 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.2174, allocations: 8 kB / 0.7074 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003384/0.2177, allocations: 0.5641 MB / 0.708 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2177, allocations: 3.984 kB / 0.708 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007511/0.2185, allocations: 487.1 kB / 0.7084 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.2187, allocations: 152.3 kB / 0.7086 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.2187, allocations: 11.94 kB / 0.7086 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.219, allocations: 23.97 kB / 0.7086 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.2191, allocations: 27.97 kB / 0.7087 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.2191, allocations: 11.98 kB / 0.7087 GB, free: 8.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003394/0.2195, allocations: 318.9 kB / 0.709 GB, free: 8.262 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2195, allocations: 0 / 0.709 GB, free: 8.262 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007435/0.2202, allocations: 251.5 kB / 0.7092 GB, free: 8.016 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.0006087/0.2209, allocations: 257.5 kB / 0.7095 GB, free: 7.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.2222, allocations: 482.5 kB / 0.7099 GB, free: 7.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2222, allocations: 0 / 0.7099 GB, free: 7.297 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.2226, allocations: 171 kB / 0.7101 GB, free: 7.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.2237, allocations: 212.7 kB / 0.7103 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.2251, allocations: 0.8427 MB / 0.7111 GB, free: 6.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.2255, allocations: 0.8588 MB / 0.7119 GB, free: 5.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2257, allocations: 39.44 kB / 0.712 GB, free: 5.105 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.2257, allocations: 4 kB / 0.712 GB, free: 5.102 MB / 0.545 GB Notification: Performance of Templates: time 0.01288/0.2385, allocations: 10.13 MB / 0.7219 GB, free: 11.05 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)