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.0008956/0.0008958, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001229/0.001229, allocations: 168.7 kB / 15.95 MB, free: 204 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.59/1.59, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.072/1.072, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 8 kB / 0.507 GB, free: 5.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2033, allocations: 82.3 MB / 0.5874 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.4462/0.6496, allocations: 19.02 MB / 0.6059 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007405/0.657, allocations: 4.645 MB / 0.6105 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008823/0.658, allocations: 17.12 kB / 0.6105 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009522/0.6589, allocations: 195.2 kB / 0.6107 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.6614, allocations: 0.6395 MB / 0.6113 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.6633, allocations: 0.6145 MB / 0.6119 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.6649, allocations: 1.541 MB / 0.6134 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005977/0.6655, allocations: 350.3 kB / 0.6137 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008972/0.6665, allocations: 499.8 kB / 0.6142 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005668/0.667, allocations: 423.2 kB / 0.6146 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.789e-05/0.6671, allocations: 23.69 kB / 0.6146 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.6682, allocations: 0.5273 MB / 0.6152 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.6683, allocations: 99.23 kB / 0.6153 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.6684, allocations: 125.6 kB / 0.6154 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.669, allocations: 0.5549 MB / 0.6159 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.669, allocations: 2.938 kB / 0.6159 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.669, allocations: 0 / 0.6159 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.669, allocations: 0 / 0.6159 GB, free: 34.04 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.001213/0.6702, allocations: 0.8414 MB / 0.6167 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6703, allocations: 12.12 kB / 0.6168 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.553e-05/0.6704, allocations: 67.03 kB / 0.6168 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.671, allocations: 434.2 kB / 0.6172 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.671, allocations: 28.31 kB / 0.6173 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.6711, allocations: 36.28 kB / 0.6173 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.6716, allocations: 313.3 kB / 0.6176 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6717, allocations: 2.625 kB / 0.6176 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.6717, allocations: 15.64 kB / 0.6176 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.6717, allocations: 5.656 kB / 0.6176 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005379/0.6723, allocations: 285.4 kB / 0.6179 GB, free: 33.12 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.001896/0.6742, allocations: 1.357 MB / 0.6192 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.6746, allocations: 253.1 kB / 0.6195 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.6749, allocations: 146.8 kB / 0.6196 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000381/0.6753, allocations: 0.4963 MB / 0.6201 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.6754, allocations: 34.12 kB / 0.6201 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.492e-06/0.6754, allocations: 4 kB / 0.6201 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001499/0.6769, allocations: 0.5926 MB / 0.6207 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.6769, allocations: 53.44 kB / 0.6207 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.6774, allocations: 457.9 kB / 0.6212 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.6774, allocations: 34.77 kB / 0.6212 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.6776, allocations: 248 kB / 0.6215 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.6776, allocations: 87.02 kB / 0.6215 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.6777, allocations: 6.375 kB / 0.6215 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6778, allocations: 354.8 kB / 0.6219 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.6781, allocations: 126.3 kB / 0.622 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.6784, allocations: 182.7 kB / 0.6222 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.6787, allocations: 152.3 kB / 0.6223 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6787, allocations: 3.953 kB / 0.6223 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008216/0.6795, allocations: 428.4 kB / 0.6227 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.6796, allocations: 108.2 kB / 0.6228 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6796, allocations: 0 / 0.6228 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003082/0.6799, allocations: 53.36 kB / 0.6229 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.6802, allocations: 73.62 kB / 0.623 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003149/0.6805, allocations: 0.5734 MB / 0.6235 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.681, allocations: 72.88 kB / 0.6236 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.681, allocations: 14.12 kB / 0.6236 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-06/0.681, allocations: 2.219 kB / 0.6236 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006131/0.6816, allocations: 322.4 kB / 0.6239 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.6817, allocations: 0 / 0.6239 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/0.6817, allocations: 3.219 kB / 0.6239 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.682, allocations: 88.88 kB / 0.624 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.682, allocations: 4.172 kB / 0.624 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.6824, allocations: 66.47 kB / 0.6241 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.6824, allocations: 16.06 kB / 0.6241 GB, free: 30.05 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.0001959/0.6826, allocations: 243.4 kB / 0.6243 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.6827, allocations: 45.31 kB / 0.6244 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008828/0.6836, allocations: 455.5 kB / 0.6248 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.6836, allocations: 2.812 kB / 0.6248 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6836, allocations: 0 / 0.6248 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.6836, allocations: 0 / 0.6248 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.6849, allocations: 0.9713 MB / 0.6257 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.6849, allocations: 0 / 0.6257 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.6851, allocations: 55.41 kB / 0.6258 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/0.6853, allocations: 43.8 kB / 0.6258 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.6853, allocations: 12.69 kB / 0.6258 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002289/0.6855, allocations: 0.5532 MB / 0.6264 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6855, allocations: 0 / 0.6264 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.6862, allocations: 0.5056 MB / 0.6269 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.6863, allocations: 169 kB / 0.627 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.6864, allocations: 6.344 kB / 0.627 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.6867, allocations: 41.67 kB / 0.6271 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.6868, allocations: 19.44 kB / 0.6271 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.6868, allocations: 16.27 kB / 0.6271 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002914/0.6871, allocations: 317.8 kB / 0.6274 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6871, allocations: 0 / 0.6274 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007224/0.6878, allocations: 251.7 kB / 0.6277 GB, free: 28.38 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.0004725/0.6883, allocations: 248.8 kB / 0.6279 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.6893, allocations: 493.2 kB / 0.6284 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.6893, allocations: 0 / 0.6284 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.6897, allocations: 182 kB / 0.6285 GB, free: 28.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.6909, allocations: 267 kB / 0.6288 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.6922, allocations: 0.9769 MB / 0.6298 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.6924, allocations: 0.8496 MB / 0.6306 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004248/0.6929, allocations: 127.7 kB / 0.6307 GB, free: 26.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.693, allocations: 42.8 kB / 0.6307 GB, free: 26.91 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.693, allocations: 0 / 0.6307 GB, free: 26.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.01671/0.7097, allocations: 9.58 MB / 0.6401 GB, free: 26.12 MB / 0.4981 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)