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.006944/0.006944, allocations: 102 kB / 15.73 MB, free: 6.051 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.00137/0.00137, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.2911/0.2911, allocations: 38 MB / 307.9 MB, free: 10.05 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.001481/0.001481, allocations: 67.91 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2652, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.02716/0.2924, allocations: 28.54 MB / 0.5059 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.3144, allocations: 16.94 MB / 0.5224 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007306/0.3151, allocations: 10.97 kB / 0.5224 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008883/0.3161, allocations: 264.7 kB / 0.5227 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.3309, allocations: 4.543 MB / 0.5271 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005842/0.3367, allocations: 1.897 MB / 0.529 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.3383, allocations: 0.9671 MB / 0.5299 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.3388, allocations: 278 kB / 0.5302 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.3399, allocations: 498.5 kB / 0.5306 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005327/0.3452, allocations: 1.866 MB / 0.5325 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.3454, allocations: 37.16 kB / 0.5325 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01594/0.3613, allocations: 7.504 MB / 0.5398 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.3616, allocations: 111.6 kB / 0.5399 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.3621, allocations: 242.9 kB / 0.5402 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.3747, allocations: 4.643 MB / 0.5447 GB, free: 15.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.3747, allocations: 0 / 0.5447 GB, free: 15.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3747, allocations: 0 / 0.5447 GB, free: 15.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.3747, allocations: 0 / 0.5447 GB, free: 15.05 MB / 430.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.00346/0.3782, allocations: 1.333 MB / 0.546 GB, free: 13.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3783, allocations: 11.89 kB / 0.546 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/0.3802, allocations: 240.1 kB / 0.5462 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.3809, allocations: 415.5 kB / 0.5466 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.381, allocations: 24.66 kB / 0.5467 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.381, allocations: 32 kB / 0.5467 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.3826, allocations: 0.6079 MB / 0.5473 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3826, allocations: 0 / 0.5473 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.3827, allocations: 12 kB / 0.5473 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.3827, allocations: 12 kB / 0.5473 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.3844, allocations: 0.5602 MB / 0.5479 GB, free: 11.7 MB / 430.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.003374/0.3877, allocations: 2.629 MB / 0.5504 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.3893, allocations: 458.2 kB / 0.5509 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/0.3897, allocations: 208.7 kB / 0.5511 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04685/0.4366, allocations: 24.3 MB / 0.5748 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.4367, allocations: 46.44 kB / 0.5748 GB, free: 12.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 2.525e-06/0.4367, allocations: 0 / 0.5748 GB, free: 12.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.003089/0.4398, allocations: 0.8137 MB / 0.5756 GB, free: 12.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.4399, allocations: 106.8 kB / 0.5757 GB, free: 11.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/0.4405, allocations: 377.5 kB / 0.5761 GB, free: 11.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.4406, allocations: 37.7 kB / 0.5761 GB, free: 11.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.4408, allocations: 216.1 kB / 0.5763 GB, free: 11.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4409, allocations: 90.73 kB / 0.5764 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.441, allocations: 73.69 kB / 0.5765 GB, free: 11.15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4412, allocations: 346.8 kB / 0.5768 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.4416, allocations: 168.5 kB / 0.577 GB, free: 10.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.4422, allocations: 263.8 kB / 0.5772 GB, free: 10.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008501/0.443, allocations: 398 kB / 0.5776 GB, free: 9.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.443, allocations: 0 / 0.5776 GB, free: 9.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001175/0.4442, allocations: 482.2 kB / 0.5781 GB, free: 9.434 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4443, allocations: 4 kB / 0.5781 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.4443, allocations: 4 kB / 0.5781 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.4443, allocations: 4 kB / 0.5781 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.4448, allocations: 104 kB / 0.5782 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.4448, allocations: 11.98 kB / 0.5782 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.4452, allocations: 59.5 kB / 0.5782 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.4452, allocations: 19.98 kB / 0.5783 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005317/0.4458, allocations: 272 kB / 0.5785 GB, free: 8.961 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004878/0.4463, allocations: 260.2 kB / 0.5788 GB, free: 8.664 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008064/0.4471, allocations: 390.2 kB / 0.5791 GB, free: 8.246 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.315e-05/0.4471, allocations: 8 kB / 0.5792 GB, free: 8.238 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001101/0.4482, allocations: 476.8 kB / 0.5796 GB, free: 7.766 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4482, allocations: 8 kB / 0.5796 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.4483, allocations: 0 / 0.5796 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.4483, allocations: 11.98 kB / 0.5796 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.4487, allocations: 91.88 kB / 0.5797 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4487, allocations: 11.92 kB / 0.5797 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.449, allocations: 44.03 kB / 0.5798 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.4491, allocations: 16 kB / 0.5798 GB, free: 7.586 MB / 462.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.0001977/0.4493, allocations: 208.1 kB / 0.58 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4494, allocations: 39.53 kB / 0.58 GB, free: 7.336 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/0.4521, allocations: 1.956 MB / 0.5819 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.163e-05/0.4521, allocations: 31.94 kB / 0.582 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4521, allocations: 0 / 0.582 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4521, allocations: 0 / 0.582 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.4532, allocations: 1.063 MB / 0.583 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4533, allocations: 0 / 0.583 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.4536, allocations: 75.88 kB / 0.5831 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.4536, allocations: 4 kB / 0.5831 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.4536, allocations: 8 kB / 0.5831 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.4536, allocations: 4 kB / 0.5831 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4536, allocations: 3.938 kB / 0.5831 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.4551, allocations: 1.134 MB / 0.5842 GB, free: 2.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.4554, allocations: 203.7 kB / 0.5844 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.4555, allocations: 23.75 kB / 0.5844 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.4558, allocations: 27.97 kB / 0.5844 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4559, allocations: 31.95 kB / 0.5845 GB, free: 2.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.456, allocations: 15.98 kB / 0.5845 GB, free: 2.664 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004391/0.4564, allocations: 370.8 kB / 0.5848 GB, free: 2.301 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4564, allocations: 8 kB / 0.5848 GB, free: 2.293 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003319/0.4598, allocations: 1.148 MB / 0.586 GB, free: 1.145 MB / 462.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.005177/0.4649, allocations: 1.26 MB / 0.5872 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.4668, allocations: 0.8584 MB / 0.588 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4669, allocations: 0 / 0.588 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.4676, allocations: 0.529 MB / 0.5886 GB, free: 14.49 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.4689, allocations: 246.8 kB / 0.5888 GB, free: 14.26 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.4714, allocations: 1.587 MB / 0.5903 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.472, allocations: 0.9755 MB / 0.5913 GB, free: 11.63 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001072/0.4731, allocations: 0.6123 MB / 0.5919 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.4732, allocations: 47.42 kB / 0.5919 GB, free: 10.97 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4733, allocations: 0 / 0.5919 GB, free: 10.97 MB / 478.1 MB Notification: Performance of Templates: time 0.06003/0.5333, allocations: 41.48 MB / 0.6324 GB, free: 1.453 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (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)