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.0008738/0.0008738, allocations: 99.31 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.001015/0.001015, 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.245/1.245, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8436/0.8436, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003316, allocations: 12 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1722, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01847/0.1907, allocations: 17.4 MB / 0.6042 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2924/0.4832, allocations: 3.98 MB / 0.6081 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007466/0.484, allocations: 22.06 kB / 0.6081 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009761/0.485, allocations: 258 kB / 0.6083 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.4869, allocations: 0.8092 MB / 0.6091 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.4888, allocations: 0.7706 MB / 0.6099 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.4899, allocations: 0.8313 MB / 0.6107 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004178/0.4904, allocations: 353.1 kB / 0.611 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006439/0.491, allocations: 477.8 kB / 0.6115 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.4914, allocations: 315.4 kB / 0.6118 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.217e-05/0.4915, allocations: 22.53 kB / 0.6118 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000771/0.4922, allocations: 400.4 kB / 0.6122 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.4923, allocations: 102.2 kB / 0.6123 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.571e-05/0.4924, allocations: 124.4 kB / 0.6124 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.4929, allocations: 0.5137 MB / 0.6129 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4929, allocations: 0 / 0.6129 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.735e-06/0.4929, allocations: 3.516 kB / 0.6129 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.493, allocations: 0 / 0.6129 GB, free: 34.74 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.001183/0.4941, allocations: 0.811 MB / 0.6137 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.4942, allocations: 8.75 kB / 0.6137 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.001e-05/0.4943, allocations: 70.75 kB / 0.6138 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.4948, allocations: 439.8 kB / 0.6142 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.4948, allocations: 26 kB / 0.6142 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.4949, allocations: 35.47 kB / 0.6142 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.4954, allocations: 313.3 kB / 0.6145 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4955, allocations: 2.844 kB / 0.6145 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.4955, allocations: 10.36 kB / 0.6146 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4955, allocations: 13.88 kB / 0.6146 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005306/0.496, allocations: 281.1 kB / 0.6148 GB, free: 33.86 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.001704/0.4978, allocations: 1.347 MB / 0.6162 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006176/0.4984, allocations: 290.4 kB / 0.6164 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003124/0.4987, allocations: 0.4968 MB / 0.6169 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.4987, allocations: 35.41 kB / 0.6169 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.303e-06/0.4987, allocations: 0 / 0.6169 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.0015/0.5002, allocations: 0.5845 MB / 0.6175 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.5003, allocations: 61.72 kB / 0.6176 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.5007, allocations: 460.6 kB / 0.618 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.5007, allocations: 34.98 kB / 0.6181 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.5008, allocations: 243.3 kB / 0.6183 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.5009, allocations: 85.64 kB / 0.6184 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.5009, allocations: 6.188 kB / 0.6184 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.501, allocations: 358 kB / 0.6187 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.5012, allocations: 120.9 kB / 0.6188 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.5015, allocations: 189.8 kB / 0.619 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.5018, allocations: 148.8 kB / 0.6192 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5018, allocations: 4 kB / 0.6192 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000796/0.5026, allocations: 425.3 kB / 0.6196 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/0.5027, allocations: 267.8 kB / 0.6198 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.5027, allocations: 0 / 0.6198 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002997/0.503, allocations: 59.86 kB / 0.6199 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.5033, allocations: 76.36 kB / 0.6199 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002951/0.5036, allocations: 0.563 MB / 0.6205 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.5041, allocations: 64.77 kB / 0.6206 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.5041, allocations: 16.27 kB / 0.6206 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.615e-06/0.5041, allocations: 10.75 kB / 0.6206 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005916/0.5047, allocations: 322.4 kB / 0.6209 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.5047, allocations: 0 / 0.6209 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-06/0.5048, allocations: 2.844 kB / 0.6209 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.5051, allocations: 82.98 kB / 0.621 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.5051, allocations: 5.312 kB / 0.621 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.5055, allocations: 72.7 kB / 0.621 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.5055, allocations: 12.31 kB / 0.6211 GB, free: 30.69 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.0001819/0.5057, allocations: 240.3 kB / 0.6213 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.5058, allocations: 55.5 kB / 0.6213 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008435/0.5066, allocations: 439 kB / 0.6218 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.5066, allocations: 11.25 kB / 0.6218 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.5067, allocations: 3.188 kB / 0.6218 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.5067, allocations: 5.016 kB / 0.6218 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.5079, allocations: 0.9629 MB / 0.6227 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.508, allocations: 0 / 0.6227 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.5082, allocations: 58.58 kB / 0.6228 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001399/0.5083, allocations: 48.17 kB / 0.6228 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.5083, allocations: 8.906 kB / 0.6228 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002342/0.5086, allocations: 0.5547 MB / 0.6234 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5086, allocations: 2.516 kB / 0.6234 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006773/0.5093, allocations: 0.5591 MB / 0.6239 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.5094, allocations: 160.7 kB / 0.6241 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.5095, allocations: 11.39 kB / 0.6241 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.5098, allocations: 43.19 kB / 0.6241 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.5099, allocations: 20.5 kB / 0.6241 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.5099, allocations: 11.66 kB / 0.6242 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002672/0.5102, allocations: 320.8 kB / 0.6245 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5102, allocations: 0 / 0.6245 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000664/0.5109, allocations: 256.8 kB / 0.6247 GB, free: 28.97 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.0004334/0.5113, allocations: 247.9 kB / 0.6249 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.5124, allocations: 489.5 kB / 0.6254 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5124, allocations: 5.688 kB / 0.6254 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.5127, allocations: 176.5 kB / 0.6256 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.5139, allocations: 251.8 kB / 0.6258 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.5152, allocations: 0.9765 MB / 0.6268 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.5154, allocations: 0.863 MB / 0.6276 GB, free: 27.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003764/0.5158, allocations: 119.1 kB / 0.6277 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.645e-05/0.5159, allocations: 41.27 kB / 0.6278 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.5159, allocations: 0 / 0.6278 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.01528/0.5312, allocations: 9.574 MB / 0.6371 GB, free: 26.8 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: