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.005664/0.005664, allocations: 101.1 kB / 15.73 MB, free: 6.453 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.001109/0.00111, allocations: 197 kB / 16.68 MB, free: 6.355 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8098/0.8098, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 0.5813 GB, free: 7.539 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.497, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.023/0.52, allocations: 20.75 MB / 0.6799 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009268/0.5294, allocations: 4.943 MB / 0.6847 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009432/0.5304, allocations: 18.06 kB / 0.6848 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009537/0.5313, allocations: 279.5 kB / 0.685 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.5341, allocations: 0.86 MB / 0.6859 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.5362, allocations: 0.7136 MB / 0.6866 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.5383, allocations: 1.383 MB / 0.6879 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006868/0.539, allocations: 452.5 kB / 0.6884 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.5402, allocations: 0.5793 MB / 0.6889 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006887/0.5409, allocations: 449.3 kB / 0.6893 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.541, allocations: 41.25 kB / 0.6894 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.5423, allocations: 0.6325 MB / 0.69 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.5425, allocations: 121.6 kB / 0.6901 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.5428, allocations: 290.8 kB / 0.6904 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.5441, allocations: 0.8531 MB / 0.6912 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5441, allocations: 1.375 kB / 0.6912 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5441, allocations: 0 / 0.6912 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.5441, allocations: 0 / 0.6912 GB, free: 1.648 MB / 0.5137 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.001619/0.5457, allocations: 0.9271 MB / 0.6921 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5458, allocations: 9.375 kB / 0.6921 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.546, allocations: 63.5 kB / 0.6922 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/0.5467, allocations: 477.8 kB / 0.6927 GB, free: 456 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.5468, allocations: 27.09 kB / 0.6927 GB, free: 444 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.5468, allocations: 40.31 kB / 0.6927 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006709/0.5475, allocations: 311.2 kB / 0.693 GB, free: 244 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5475, allocations: 0 / 0.693 GB, free: 244 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.5476, allocations: 11.09 kB / 0.693 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5476, allocations: 6.594 kB / 0.693 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006981/0.5483, allocations: 263.3 kB / 0.6933 GB, free: 112 kB / 0.5137 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.002282/0.5506, allocations: 1.331 MB / 0.6946 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.5511, allocations: 258.9 kB / 0.6948 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.5514, allocations: 140 kB / 0.695 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004036/0.5519, allocations: 0.4924 MB / 0.6955 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.5519, allocations: 39.5 kB / 0.6955 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.5519, allocations: 4 kB / 0.6955 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001717/0.5536, allocations: 0.5513 MB / 0.696 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.5537, allocations: 53.62 kB / 0.6961 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005637/0.5543, allocations: 478.5 kB / 0.6965 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.5543, allocations: 31.23 kB / 0.6966 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.5545, allocations: 239.3 kB / 0.6968 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.5546, allocations: 89.39 kB / 0.6969 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.5547, allocations: 81.98 kB / 0.697 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5549, allocations: 356.8 kB / 0.6973 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.5552, allocations: 123.7 kB / 0.6974 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.5556, allocations: 178.9 kB / 0.6976 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/0.5562, allocations: 281.5 kB / 0.6979 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5562, allocations: 1.406 kB / 0.6979 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001592/0.5578, allocations: 488.6 kB / 0.6983 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.5578, allocations: 7.312 kB / 0.6983 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.5578, allocations: 1.375 kB / 0.6983 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004159/0.5583, allocations: 57.78 kB / 0.6984 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.5587, allocations: 70.64 kB / 0.6985 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000504/0.5592, allocations: 0.5677 MB / 0.699 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.5597, allocations: 45.61 kB / 0.6991 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.5597, allocations: 14.03 kB / 0.6991 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000474/0.5602, allocations: 250 kB / 0.6993 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003641/0.5606, allocations: 172.3 kB / 0.6995 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006308/0.5612, allocations: 263.5 kB / 0.6997 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.033e-06/0.5612, allocations: 0 / 0.6997 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008135/0.562, allocations: 368.7 kB / 0.7001 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5621, allocations: 9.812 kB / 0.7001 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.5621, allocations: 1.438 kB / 0.7001 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/0.5621, allocations: 5.484 kB / 0.7001 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.5625, allocations: 82.2 kB / 0.7002 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.5625, allocations: 2.656 kB / 0.7002 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.5629, allocations: 46.48 kB / 0.7002 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.563, allocations: 17.45 kB / 0.7002 GB, free: 10.86 MB / 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.0001659/0.5631, allocations: 202 kB / 0.7004 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.5633, allocations: 49.98 kB / 0.7005 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009895/0.5643, allocations: 429.7 kB / 0.7009 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.5643, allocations: 2.75 kB / 0.7009 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5643, allocations: 1.188 kB / 0.7009 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.5643, allocations: 3.984 kB / 0.7009 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.5659, allocations: 0.9469 MB / 0.7018 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.5659, allocations: 1.562 kB / 0.7018 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.5662, allocations: 42.44 kB / 0.7019 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002023/0.5664, allocations: 40.05 kB / 0.7019 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.5664, allocations: 18.8 kB / 0.7019 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004057/0.5668, allocations: 0.5618 MB / 0.7025 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5668, allocations: 2.062 kB / 0.7025 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009107/0.5678, allocations: 499.3 kB / 0.7029 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.568, allocations: 158.1 kB / 0.7031 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.568, allocations: 9.875 kB / 0.7031 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.5683, allocations: 27.97 kB / 0.7031 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.5684, allocations: 22.44 kB / 0.7031 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.5684, allocations: 11.84 kB / 0.7032 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003988/0.5689, allocations: 321.8 kB / 0.7035 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5689, allocations: 0 / 0.7035 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009064/0.5698, allocations: 251 kB / 0.7037 GB, free: 8.27 MB / 0.5294 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.0005879/0.5704, allocations: 245.4 kB / 0.7039 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.5715, allocations: 478.4 kB / 0.7044 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5715, allocations: 0 / 0.7044 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.5719, allocations: 175.5 kB / 0.7046 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.573, allocations: 221.6 kB / 0.7048 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.5745, allocations: 0.8245 MB / 0.7056 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.5749, allocations: 0.8549 MB / 0.7064 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003758/0.5753, allocations: 116.1 kB / 0.7065 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.5754, allocations: 39.44 kB / 0.7066 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.5754, allocations: 4 kB / 0.7066 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of Templates: time 0.01788/0.5933, allocations: 10.17 MB / 0.7165 GB, free: 11.36 MB / 0.545 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)