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.006814/0.006814, 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.001287/0.001287, allocations: 195 kB / 16.68 MB, free: 5.969 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.467/1.467, allocations: 205.1 MB / 222.5 MB, free: 4.367 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.3198/0.3198, allocations: 38 MB / 307.9 MB, free: 10.34 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.001758/0.001758, allocations: 71.84 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3484, allocations: 56.46 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.02767/0.3761, allocations: 28.53 MB / 0.5059 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02302/0.3991, allocations: 16.94 MB / 0.5224 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000684/0.3998, allocations: 14.91 kB / 0.5224 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009761/0.4009, allocations: 264.3 kB / 0.5227 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01561/0.4165, allocations: 4.539 MB / 0.5271 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005594/0.4221, allocations: 1.881 MB / 0.5289 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.4237, allocations: 0.9641 MB / 0.5299 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006664/0.4244, allocations: 293.8 kB / 0.5302 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.4255, allocations: 489.9 kB / 0.5306 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0039/0.4295, allocations: 1.866 MB / 0.5324 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.906e-05/0.4296, allocations: 36.56 kB / 0.5325 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01593/0.4455, allocations: 7.506 MB / 0.5398 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.4458, allocations: 115.5 kB / 0.5399 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.4462, allocations: 238.9 kB / 0.5401 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.4589, allocations: 4.643 MB / 0.5447 GB, free: 15.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.459, allocations: 0 / 0.5447 GB, free: 15.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.459, allocations: 0 / 0.5447 GB, free: 15.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.459, allocations: 0 / 0.5447 GB, free: 15.08 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.003314/0.4623, allocations: 1.337 MB / 0.546 GB, free: 13.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4624, allocations: 11.89 kB / 0.546 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.4642, allocations: 240.1 kB / 0.5462 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.4649, allocations: 411.5 kB / 0.5466 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.4649, allocations: 28.66 kB / 0.5466 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.465, allocations: 32 kB / 0.5467 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.4666, allocations: 0.604 MB / 0.5473 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4666, allocations: 3.938 kB / 0.5473 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.4667, allocations: 12 kB / 0.5473 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4667, allocations: 8 kB / 0.5473 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.4683, allocations: 0.568 MB / 0.5478 GB, free: 11.72 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.003312/0.4716, allocations: 2.621 MB / 0.5504 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.4732, allocations: 466.1 kB / 0.5509 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/0.4736, allocations: 192.7 kB / 0.551 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05077/0.5244, allocations: 24.31 MB / 0.5748 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.5245, allocations: 34.56 kB / 0.5748 GB, free: 12.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 4.058e-06/0.5245, allocations: 0 / 0.5748 GB, free: 12.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.003007/0.5275, allocations: 0.8214 MB / 0.5756 GB, free: 12.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.5276, allocations: 110.8 kB / 0.5757 GB, free: 11.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.5281, allocations: 381.5 kB / 0.5761 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.5281, allocations: 33.64 kB / 0.5761 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.5283, allocations: 216.1 kB / 0.5763 GB, free: 11.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.312e-05/0.5284, allocations: 86.75 kB / 0.5764 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.5285, allocations: 73.69 kB / 0.5765 GB, free: 11.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5286, allocations: 346.8 kB / 0.5768 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.5291, allocations: 172.5 kB / 0.577 GB, free: 10.67 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.5296, allocations: 255.9 kB / 0.5772 GB, free: 10.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008724/0.5305, allocations: 401.9 kB / 0.5776 GB, free: 9.945 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5305, allocations: 4 kB / 0.5776 GB, free: 9.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001097/0.5316, allocations: 478.1 kB / 0.5781 GB, free: 9.469 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.5316, allocations: 8 kB / 0.5781 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.5316, allocations: 4 kB / 0.5781 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.5317, allocations: 8 kB / 0.5781 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.5321, allocations: 104.2 kB / 0.5782 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.5321, allocations: 7.938 kB / 0.5782 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.5324, allocations: 63.5 kB / 0.5782 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.5325, allocations: 19.98 kB / 0.5783 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004977/0.533, allocations: 272 kB / 0.5785 GB, free: 8.988 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004738/0.5335, allocations: 260.3 kB / 0.5788 GB, free: 8.691 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008131/0.5343, allocations: 394.2 kB / 0.5791 GB, free: 8.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.5343, allocations: 0 / 0.5791 GB, free: 8.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001053/0.5354, allocations: 476.8 kB / 0.5796 GB, free: 7.797 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.5354, allocations: 4.625 kB / 0.5796 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5354, allocations: 7.984 kB / 0.5796 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.5354, allocations: 4 kB / 0.5796 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.5358, allocations: 91.88 kB / 0.5797 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.5358, allocations: 15.97 kB / 0.5797 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.5361, allocations: 48.03 kB / 0.5798 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.5361, allocations: 16 kB / 0.5798 GB, free: 7.613 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.0001465/0.5363, allocations: 208.1 kB / 0.58 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/0.5364, allocations: 35.53 kB / 0.58 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.5388, allocations: 1.952 MB / 0.5819 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/0.5389, allocations: 31.94 kB / 0.5819 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5389, allocations: 0 / 0.5819 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5389, allocations: 0 / 0.5819 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009892/0.5399, allocations: 1.063 MB / 0.583 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5399, allocations: 0 / 0.583 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.5402, allocations: 79.88 kB / 0.5831 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5402, allocations: 4 kB / 0.5831 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.5403, allocations: 12 kB / 0.5831 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5403, allocations: 0 / 0.5831 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5403, allocations: 0 / 0.5831 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.5418, allocations: 1.138 MB / 0.5842 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.542, allocations: 219.6 kB / 0.5844 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/0.5421, allocations: 19.75 kB / 0.5844 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.5424, allocations: 27.97 kB / 0.5844 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.5425, allocations: 31.95 kB / 0.5845 GB, free: 2.699 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.5425, allocations: 15.98 kB / 0.5845 GB, free: 2.684 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004107/0.5429, allocations: 374.8 kB / 0.5848 GB, free: 2.316 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5429, allocations: 0 / 0.5848 GB, free: 2.316 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003107/0.5461, allocations: 1.152 MB / 0.586 GB, free: 1.164 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.003949/0.55, allocations: 1.249 MB / 0.5872 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.5518, allocations: 0.8506 MB / 0.588 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5518, allocations: 0 / 0.588 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006943/0.5525, allocations: 0.5329 MB / 0.5885 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.5537, allocations: 247.5 kB / 0.5888 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.5559, allocations: 1.595 MB / 0.5903 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.5564, allocations: 0.9794 MB / 0.5913 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000801/0.5572, allocations: 0.6046 MB / 0.5919 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.5574, allocations: 51.42 kB / 0.5919 GB, free: 11 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5574, allocations: 0 / 0.5919 GB, free: 11 MB / 478.1 MB Notification: Performance of Templates: time 0.05398/0.6114, allocations: 41.65 MB / 0.6326 GB, free: 1.309 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)