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.001514/0.001514, allocations: 108.8 kB / 16.41 MB, free: 6.473 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.001773/0.001773, allocations: 187 kB / 17.34 MB, free: 5.754 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7768/0.7768, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 62.47 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1588, allocations: 80.22 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02158/0.1804, allocations: 20.74 MB / 0.6806 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006834/0.1873, allocations: 4.947 MB / 0.6854 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007087/0.1881, allocations: 15.88 kB / 0.6854 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007853/0.1889, allocations: 274.1 kB / 0.6857 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.191, allocations: 0.816 MB / 0.6865 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.1929, allocations: 0.713 MB / 0.6872 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.1947, allocations: 1.391 MB / 0.6885 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005936/0.1953, allocations: 436.4 kB / 0.689 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009765/0.1963, allocations: 0.5837 MB / 0.6895 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005856/0.1969, allocations: 442.1 kB / 0.6899 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.329e-05/0.197, allocations: 36 kB / 0.69 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.1982, allocations: 0.6394 MB / 0.6906 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.1984, allocations: 131.4 kB / 0.6907 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.1987, allocations: 282.5 kB / 0.691 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.1999, allocations: 0.8567 MB / 0.6918 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1999, allocations: 4 kB / 0.6918 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1999, allocations: 0 / 0.6918 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.2, allocations: 0 / 0.6918 GB, free: 9.922 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.001555/0.2015, allocations: 0.9187 MB / 0.6927 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2016, allocations: 8.031 kB / 0.6927 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.2017, allocations: 72.11 kB / 0.6928 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.2024, allocations: 474.6 kB / 0.6933 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.2025, allocations: 28.66 kB / 0.6933 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.2025, allocations: 36 kB / 0.6933 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/0.2031, allocations: 310 kB / 0.6936 GB, free: 8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2032, allocations: 0 / 0.6936 GB, free: 8 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.2032, allocations: 15.94 kB / 0.6936 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2032, allocations: 7.938 kB / 0.6936 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006129/0.2038, allocations: 258.4 kB / 0.6939 GB, free: 7.723 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.002143/0.206, allocations: 1.341 MB / 0.6952 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.2065, allocations: 250.5 kB / 0.6954 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.2068, allocations: 136.8 kB / 0.6956 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004268/0.2073, allocations: 0.4986 MB / 0.6961 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.2073, allocations: 46.53 kB / 0.6961 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.2073, allocations: 0 / 0.6961 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001747/0.2091, allocations: 0.5572 MB / 0.6966 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.2091, allocations: 55.41 kB / 0.6967 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.2096, allocations: 462.2 kB / 0.6971 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.2097, allocations: 33.7 kB / 0.6972 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.2098, allocations: 244.4 kB / 0.6974 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.2099, allocations: 86.73 kB / 0.6975 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.21, allocations: 73.69 kB / 0.6976 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2102, allocations: 358.8 kB / 0.6979 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.2105, allocations: 124.7 kB / 0.698 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.2109, allocations: 181 kB / 0.6982 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/0.2115, allocations: 272 kB / 0.6985 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2115, allocations: 4 kB / 0.6985 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001558/0.2131, allocations: 497.6 kB / 0.6989 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2131, allocations: 4 kB / 0.6989 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2131, allocations: 4 kB / 0.6989 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003661/0.2135, allocations: 52.81 kB / 0.699 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.2139, allocations: 67.89 kB / 0.6991 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004482/0.2144, allocations: 0.564 MB / 0.6996 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.2148, allocations: 51.69 kB / 0.6997 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.2149, allocations: 11.98 kB / 0.6997 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004396/0.2153, allocations: 247.9 kB / 0.6999 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003623/0.2157, allocations: 178.5 kB / 0.7001 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000581/0.2163, allocations: 273 kB / 0.7003 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.2163, allocations: 0 / 0.7003 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007922/0.2171, allocations: 364.8 kB / 0.7007 GB, free: 352 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.2171, allocations: 9.656 kB / 0.7007 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2171, allocations: 4 kB / 0.7007 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-06/0.2171, allocations: 3.938 kB / 0.7007 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.2175, allocations: 79.94 kB / 0.7008 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.2175, allocations: 3.938 kB / 0.7008 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.218, allocations: 51.7 kB / 0.7008 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.218, allocations: 12 kB / 0.7008 GB, free: 188 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.000183/0.2182, allocations: 196.3 kB / 0.701 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.2183, allocations: 55.38 kB / 0.7011 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.2193, allocations: 421.3 kB / 0.7015 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.2193, allocations: 4 kB / 0.7015 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2194, allocations: 0 / 0.7015 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2194, allocations: 0 / 0.7015 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.2209, allocations: 0.9476 MB / 0.7024 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.2209, allocations: 3.938 kB / 0.7024 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.2212, allocations: 51.95 kB / 0.7025 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.2213, allocations: 40.83 kB / 0.7025 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.2214, allocations: 8 kB / 0.7025 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003557/0.2218, allocations: 0.568 MB / 0.7031 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2218, allocations: 0 / 0.7031 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008155/0.2226, allocations: 0.4911 MB / 0.7035 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.2228, allocations: 160.4 kB / 0.7037 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.2229, allocations: 7.938 kB / 0.7037 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.2232, allocations: 23.97 kB / 0.7037 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.2233, allocations: 27.97 kB / 0.7038 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.2233, allocations: 11.98 kB / 0.7038 GB, free: 13.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003605/0.2237, allocations: 322.9 kB / 0.7041 GB, free: 12.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2237, allocations: 0 / 0.7041 GB, free: 12.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007318/0.2244, allocations: 247.5 kB / 0.7043 GB, free: 12.45 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.0005036/0.2249, allocations: 257.9 kB / 0.7046 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.2261, allocations: 468.5 kB / 0.705 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2262, allocations: 0 / 0.705 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.2266, allocations: 167.8 kB / 0.7052 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.2277, allocations: 219.7 kB / 0.7054 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.2291, allocations: 0.8558 MB / 0.7062 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.2295, allocations: 0.8549 MB / 0.707 GB, free: 9.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.2297, allocations: 47.42 kB / 0.7071 GB, free: 9.543 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.2297, allocations: 0 / 0.7071 GB, free: 9.543 MB / 0.545 GB Notification: Performance of Templates: time 0.01378/0.2434, allocations: 10.24 MB / 0.7171 GB, free: 15.4 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)