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-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_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.001037/0.001037, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.0008702/0.0008702, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 223.2 MB / 239.9 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8349/0.8349, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 8.875 kB / 0.5068 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.16, allocations: 82.31 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01874/0.1788, allocations: 17.4 MB / 0.6042 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2963/0.4751, allocations: 3.979 MB / 0.6081 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008505/0.476, allocations: 18.5 kB / 0.6081 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.4772, allocations: 258.5 kB / 0.6083 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.4801, allocations: 0.8093 MB / 0.6091 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.4822, allocations: 0.7733 MB / 0.6099 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.4836, allocations: 0.8352 MB / 0.6107 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004518/0.484, allocations: 351.7 kB / 0.611 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006996/0.4848, allocations: 472.4 kB / 0.6115 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004077/0.4852, allocations: 318.5 kB / 0.6118 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.4852, allocations: 20.25 kB / 0.6118 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008282/0.4861, allocations: 399.4 kB / 0.6122 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.4862, allocations: 103.6 kB / 0.6123 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.898e-05/0.4863, allocations: 125.4 kB / 0.6124 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.4868, allocations: 0.5149 MB / 0.6129 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.4868, allocations: 0 / 0.6129 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4868, allocations: 4 kB / 0.6129 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.4868, allocations: 0 / 0.6129 GB, free: 34.71 MB / 0.4981 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.001173/0.488, allocations: 0.8127 MB / 0.6137 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.488, allocations: 9.094 kB / 0.6137 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.002e-05/0.4881, allocations: 62.28 kB / 0.6138 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/0.4886, allocations: 436.9 kB / 0.6142 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.4886, allocations: 25.38 kB / 0.6142 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.4887, allocations: 39.02 kB / 0.6142 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.4892, allocations: 317.4 kB / 0.6145 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4893, allocations: 3.094 kB / 0.6146 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.4893, allocations: 13.56 kB / 0.6146 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.4893, allocations: 11.19 kB / 0.6146 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.4898, allocations: 275.7 kB / 0.6148 GB, free: 33.83 MB / 0.4981 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.001699/0.4916, allocations: 1.349 MB / 0.6162 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.4922, allocations: 290.5 kB / 0.6164 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/0.4925, allocations: 0.491 MB / 0.6169 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.4926, allocations: 42.2 kB / 0.617 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.4926, allocations: 0 / 0.617 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001642/0.4942, allocations: 0.5854 MB / 0.6175 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.4943, allocations: 58.25 kB / 0.6176 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.4947, allocations: 458 kB / 0.618 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.4947, allocations: 35.55 kB / 0.6181 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.4949, allocations: 243.8 kB / 0.6183 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.4949, allocations: 92.45 kB / 0.6184 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.4949, allocations: 3.25 kB / 0.6184 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.21e-05/0.495, allocations: 359.7 kB / 0.6187 GB, free: 31.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.4953, allocations: 121.2 kB / 0.6188 GB, free: 31.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.4956, allocations: 185.1 kB / 0.619 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.4959, allocations: 150.9 kB / 0.6192 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4959, allocations: 0 / 0.6192 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008251/0.4967, allocations: 427.3 kB / 0.6196 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.887e-05/0.4968, allocations: 276.8 kB / 0.6198 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4968, allocations: 0 / 0.6198 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.4971, allocations: 56.55 kB / 0.6199 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.4975, allocations: 80.61 kB / 0.62 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002806/0.4977, allocations: 0.5633 MB / 0.6205 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.4982, allocations: 65.23 kB / 0.6206 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.4982, allocations: 17.64 kB / 0.6206 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.004e-06/0.4982, allocations: 3.188 kB / 0.6206 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005851/0.4988, allocations: 321.4 kB / 0.6209 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-06/0.4988, allocations: 0 / 0.6209 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-06/0.4989, allocations: 2.75 kB / 0.6209 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.4992, allocations: 89.58 kB / 0.621 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.4992, allocations: 2.969 kB / 0.621 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.4996, allocations: 73.39 kB / 0.6211 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.4996, allocations: 16.72 kB / 0.6211 GB, free: 30.66 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.4998, allocations: 238.4 kB / 0.6213 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.4998, allocations: 43.09 kB / 0.6213 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007935/0.5006, allocations: 457.4 kB / 0.6218 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.5007, allocations: 3.281 kB / 0.6218 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5007, allocations: 0 / 0.6218 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5007, allocations: 3.953 kB / 0.6218 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.5019, allocations: 0.9652 MB / 0.6227 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5019, allocations: 3.094 kB / 0.6227 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.5021, allocations: 51.05 kB / 0.6228 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/0.5023, allocations: 47.84 kB / 0.6228 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.5023, allocations: 8.875 kB / 0.6228 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000211/0.5025, allocations: 0.5646 MB / 0.6234 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5025, allocations: 0 / 0.6234 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.5032, allocations: 0.5514 MB / 0.6239 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.5033, allocations: 161.9 kB / 0.6241 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/0.5034, allocations: 8.922 kB / 0.6241 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.5037, allocations: 47.69 kB / 0.6241 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.5038, allocations: 18.95 kB / 0.6241 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.5038, allocations: 15.19 kB / 0.6242 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002593/0.5041, allocations: 318.3 kB / 0.6245 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5041, allocations: 4 kB / 0.6245 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006452/0.5047, allocations: 253.2 kB / 0.6247 GB, free: 28.94 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000437/0.5052, allocations: 250.9 kB / 0.625 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009677/0.5062, allocations: 486 kB / 0.6254 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.5062, allocations: 10.09 kB / 0.6254 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.5065, allocations: 173.9 kB / 0.6256 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.5077, allocations: 249.1 kB / 0.6258 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.5091, allocations: 0.9753 MB / 0.6268 GB, free: 28.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.5095, allocations: 0.8662 MB / 0.6276 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004196/0.5099, allocations: 110.9 kB / 0.6277 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.51, allocations: 43.66 kB / 0.6278 GB, free: 27.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.51, allocations: 0 / 0.6278 GB, free: 27.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.01441/0.5244, allocations: 9.581 MB / 0.6371 GB, free: 26.77 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: