Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008694/0.0008696, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004886/0.004886, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2868/0.2868, allocations: 38.03 MB / 308.8 MB, free: 10.37 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005698/0.00057, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09716, allocations: 57.52 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.2075/0.3047, allocations: 28.66 MB / 463.2 MB, free: 34.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01651/0.3213, allocations: 18.05 MB / 481.3 MB, free: 29.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005883/0.3219, allocations: 14.25 kB / 481.3 MB, free: 29.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006926/0.3226, allocations: 230.9 kB / 481.5 MB, free: 29.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009663/0.3323, allocations: 3.624 MB / 485.2 MB, free: 27.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003992/0.3363, allocations: 1.588 MB / 486.7 MB, free: 27.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000984/0.3373, allocations: 1.218 MB / 488 MB, free: 26.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.3376, allocations: 234.8 kB / 488.2 MB, free: 26.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006661/0.3383, allocations: 432.6 kB / 488.6 MB, free: 26.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.3413, allocations: 1.86 MB / 490.5 MB, free: 25.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.767e-05/0.3414, allocations: 15.53 kB / 490.5 MB, free: 25.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0124/0.3538, allocations: 7.396 MB / 497.9 MB, free: 23.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.354, allocations: 90.44 kB / 498 MB, free: 23.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.3543, allocations: 246 kB / 498.2 MB, free: 23.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.3658, allocations: 4.608 MB / 0.491 GB, free: 22.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3658, allocations: 4 kB / 0.491 GB, free: 22.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3658, allocations: 1.25 kB / 0.491 GB, free: 22.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.3658, allocations: 0 / 0.491 GB, free: 22.24 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.005312/0.3712, allocations: 1.243 MB / 0.4923 GB, free: 21.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3712, allocations: 9.625 kB / 0.4923 GB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.3733, allocations: 252.6 kB / 0.4925 GB, free: 21.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/0.3739, allocations: 388.3 kB / 0.4929 GB, free: 21.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.3739, allocations: 31.06 kB / 0.4929 GB, free: 21.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.988e-05/0.374, allocations: 32.78 kB / 0.4929 GB, free: 21.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.3757, allocations: 0.6239 MB / 0.4935 GB, free: 20.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3758, allocations: 0 / 0.4935 GB, free: 20.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.065e-05/0.3758, allocations: 17.31 kB / 0.4936 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.3759, allocations: 7.906 kB / 0.4936 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.3776, allocations: 0.6042 MB / 0.4942 GB, free: 20.64 MB / 382.1 MB 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.003014/0.3806, allocations: 2.671 MB / 0.4968 GB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.3822, allocations: 491.7 kB / 0.4972 GB, free: 18.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/0.3826, allocations: 213.6 kB / 0.4974 GB, free: 18.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04583/0.4284, allocations: 24.43 MB / 0.5213 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4285, allocations: 36.47 kB / 0.5213 GB, free: 15.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.854e-06/0.4285, allocations: 0 / 0.5213 GB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.002686/0.4312, allocations: 0.8737 MB / 0.5222 GB, free: 14.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.4313, allocations: 110.3 kB / 0.5223 GB, free: 14.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.4317, allocations: 379.5 kB / 0.5227 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.4318, allocations: 32.92 kB / 0.5227 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.4319, allocations: 227.2 kB / 0.5229 GB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.432, allocations: 84.41 kB / 0.523 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.432, allocations: 31.83 kB / 0.523 GB, free: 14.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4322, allocations: 349.2 kB / 0.5233 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.4326, allocations: 180.2 kB / 0.5235 GB, free: 13.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.433, allocations: 272.1 kB / 0.5238 GB, free: 13.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008617/0.4339, allocations: 428.8 kB / 0.5242 GB, free: 13.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.4339, allocations: 5.719 kB / 0.5242 GB, free: 13.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001097/0.435, allocations: 0.5088 MB / 0.5247 GB, free: 13.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.4351, allocations: 165.8 kB / 0.5248 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4352, allocations: 3.812 kB / 0.5248 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4352, allocations: 4.625 kB / 0.5249 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.4356, allocations: 118 kB / 0.525 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.4356, allocations: 6.938 kB / 0.525 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.4361, allocations: 73.47 kB / 0.525 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.4362, allocations: 23.45 kB / 0.5251 GB, free: 12.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.615e-06/0.4362, allocations: 6.969 kB / 0.5251 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009693/0.4371, allocations: 446.7 kB / 0.5255 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4372, allocations: 6.703 kB / 0.5255 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/0.4372, allocations: 4.438 kB / 0.5255 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.4376, allocations: 110 kB / 0.5256 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4376, allocations: 7.938 kB / 0.5256 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.438, allocations: 67.64 kB / 0.5257 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.438, allocations: 20 kB / 0.5257 GB, free: 12.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002382/0.4382, allocations: 241 kB / 0.5259 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.4383, allocations: 43.47 kB / 0.526 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.4408, allocations: 1.992 MB / 0.5279 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/0.4408, allocations: 27.95 kB / 0.5279 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4408, allocations: 7.938 kB / 0.528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4408, allocations: 3.984 kB / 0.528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.4419, allocations: 1.059 MB / 0.529 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4419, allocations: 5.938 kB / 0.529 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.4423, allocations: 87.94 kB / 0.5291 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4423, allocations: 3.984 kB / 0.5291 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.4423, allocations: 8 kB / 0.5291 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.4423, allocations: 0 / 0.5291 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4423, allocations: 0 / 0.5291 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.4438, allocations: 1.156 MB / 0.5302 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.4441, allocations: 271.3 kB / 0.5305 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.4442, allocations: 7.984 kB / 0.5305 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.4446, allocations: 47.88 kB / 0.5305 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.4446, allocations: 35.89 kB / 0.5306 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.4447, allocations: 15.98 kB / 0.5306 GB, free: 7.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004197/0.4451, allocations: 374.8 kB / 0.5309 GB, free: 6.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4451, allocations: 0 / 0.5309 GB, free: 6.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004989/0.4501, allocations: 1.148 MB / 0.5321 GB, free: 5.793 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008825/0.459, allocations: 1.264 MB / 0.5333 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.461, allocations: 0.8969 MB / 0.5342 GB, free: 3.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.461, allocations: 0 / 0.5342 GB, free: 3.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007213/0.4618, allocations: 0.5407 MB / 0.5347 GB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.4632, allocations: 222.2 kB / 0.5349 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.4656, allocations: 2.004 MB / 0.5369 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.4661, allocations: 0.9717 MB / 0.5378 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008773/0.467, allocations: 0.6147 MB / 0.5384 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.4671, allocations: 51.36 kB / 0.5385 GB, free: 15.17 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.4671, allocations: 0 / 0.5385 GB, free: 15.17 MB / 414.1 MB Notification: Performance of Templates: time 0.05525/0.5224, allocations: 40.78 MB / 0.5783 GB, free: 6.383 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) Environment - environmentSimulation: