Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005981/0.005986, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001142/0.001142, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.387/1.387, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.309/0.309, allocations: 39.94 MB / 309.8 MB, free: 9.355 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.2. 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.002586/0.002586, allocations: 72.47 kB / 435.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2966, allocations: 56.88 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.02567/0.3223, allocations: 28.68 MB / 0.5091 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.3443, allocations: 16.95 MB / 0.5257 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009781/0.3454, allocations: 14.75 kB / 0.5257 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.3466, allocations: 259.4 kB / 0.5259 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.3595, allocations: 3.806 MB / 0.5296 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008123/0.3676, allocations: 2.65 MB / 0.5322 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.3692, allocations: 1.003 MB / 0.5332 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006294/0.3698, allocations: 305.4 kB / 0.5335 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.3708, allocations: 466.1 kB / 0.5339 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.3714, allocations: 306.7 kB / 0.5342 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.3715, allocations: 36 kB / 0.5343 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01518/0.3867, allocations: 7.406 MB / 0.5415 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.387, allocations: 115.6 kB / 0.5416 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.3874, allocations: 254.8 kB / 0.5419 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.4008, allocations: 4.589 MB / 0.5463 GB, free: 13.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4008, allocations: 0 / 0.5463 GB, free: 13.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4009, allocations: 0 / 0.5463 GB, free: 13.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.071e-05/0.4009, allocations: 4 kB / 0.5463 GB, free: 13.41 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.003835/0.4047, allocations: 1.337 MB / 0.5477 GB, free: 12.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4048, allocations: 19.89 kB / 0.5477 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.4067, allocations: 228.1 kB / 0.5479 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/0.4073, allocations: 419.3 kB / 0.5483 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.4074, allocations: 33 kB / 0.5483 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.4075, allocations: 28 kB / 0.5483 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.4093, allocations: 0.6492 MB / 0.549 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.4093, allocations: 7.984 kB / 0.549 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.4093, allocations: 20 kB / 0.549 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.4094, allocations: 8 kB / 0.549 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.4114, allocations: 0.6151 MB / 0.5496 GB, free: 9.93 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.003442/0.4148, allocations: 2.825 MB / 0.5524 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.4167, allocations: 0.4984 MB / 0.5529 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/0.4173, allocations: 196.7 kB / 0.553 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05007/0.4674, allocations: 24.42 MB / 0.5769 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.4675, allocations: 30.56 kB / 0.5769 GB, free: 10.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=27): time 3.276e-06/0.4675, allocations: 0 / 0.5769 GB, free: 10.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=27): time 0.003342/0.4709, allocations: 0.8364 MB / 0.5777 GB, free: 9.926 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.4709, allocations: 110.8 kB / 0.5778 GB, free: 9.793 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.4714, allocations: 389.4 kB / 0.5782 GB, free: 9.406 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.4715, allocations: 29.7 kB / 0.5782 GB, free: 9.371 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4716, allocations: 224.1 kB / 0.5785 GB, free: 9.148 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.62e-05/0.4717, allocations: 94.67 kB / 0.5786 GB, free: 9.055 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.4718, allocations: 81.92 kB / 0.5786 GB, free: 8.969 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.472, allocations: 350.7 kB / 0.579 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005696/0.4726, allocations: 174 kB / 0.5791 GB, free: 8.445 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.4732, allocations: 273.1 kB / 0.5794 GB, free: 8.137 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.4743, allocations: 408.3 kB / 0.5798 GB, free: 7.703 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4744, allocations: 0 / 0.5798 GB, free: 7.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001391/0.4757, allocations: 492.7 kB / 0.5802 GB, free: 7.215 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4758, allocations: 9.594 kB / 0.5803 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4758, allocations: 4 kB / 0.5803 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.4758, allocations: 4 kB / 0.5803 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.4763, allocations: 103.9 kB / 0.5804 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.4763, allocations: 11.92 kB / 0.5804 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.4767, allocations: 67.55 kB / 0.5804 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.4768, allocations: 16 kB / 0.5805 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006522/0.4774, allocations: 288.2 kB / 0.5807 GB, free: 6.719 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005994/0.478, allocations: 263.9 kB / 0.581 GB, free: 6.418 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001068/0.4791, allocations: 394 kB / 0.5814 GB, free: 5.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.4791, allocations: 0 / 0.5814 GB, free: 5.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001308/0.4805, allocations: 485 kB / 0.5818 GB, free: 5.516 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.4805, allocations: 8 kB / 0.5818 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.4805, allocations: 4 kB / 0.5818 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.42e-06/0.4805, allocations: 4 kB / 0.5818 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.4809, allocations: 100.1 kB / 0.5819 GB, free: 5.402 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4809, allocations: 8 kB / 0.5819 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.4813, allocations: 63.73 kB / 0.582 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.4813, allocations: 19.98 kB / 0.582 GB, free: 5.312 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 (SinkP1.medium.phase,SourceP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001478/0.4815, allocations: 204 kB / 0.5822 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/0.4816, allocations: 43.53 kB / 0.5823 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.4842, allocations: 1.953 MB / 0.5842 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.4843, allocations: 27.95 kB / 0.5842 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4843, allocations: 0 / 0.5842 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4843, allocations: 4 kB / 0.5842 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009419/0.4852, allocations: 1.043 MB / 0.5852 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4852, allocations: 0 / 0.5852 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.4857, allocations: 87.86 kB / 0.5853 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.4857, allocations: 4 kB / 0.5853 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.4857, allocations: 7.984 kB / 0.5853 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4857, allocations: 4 kB / 0.5853 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4857, allocations: 0 / 0.5853 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.4874, allocations: 1.149 MB / 0.5864 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.4877, allocations: 207.6 kB / 0.5866 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.4877, allocations: 19.84 kB / 0.5866 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.4881, allocations: 39.95 kB / 0.5867 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/0.4882, allocations: 31.95 kB / 0.5867 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.4882, allocations: 16 kB / 0.5867 GB, free: 384 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004201/0.4886, allocations: 374.8 kB / 0.5871 GB, free: 8 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4886, allocations: 0 / 0.5871 GB, free: 8 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.003257/0.4919, allocations: 1.132 MB / 0.5882 GB, free: 14.87 MB / 478.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 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.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.004039/0.496, allocations: 1.22 MB / 0.5894 GB, free: 13.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.4982, allocations: 0.8693 MB / 0.5902 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4982, allocations: 0 / 0.5902 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000796/0.499, allocations: 0.5369 MB / 0.5908 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.5003, allocations: 251.1 kB / 0.591 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.5029, allocations: 1.595 MB / 0.5926 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.5035, allocations: 0.9834 MB / 0.5935 GB, free: 9.375 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008462/0.5043, allocations: 0.5336 MB / 0.594 GB, free: 8.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.5045, allocations: 55.36 kB / 0.5941 GB, free: 8.785 MB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5045, allocations: 4 kB / 0.5941 GB, free: 8.781 MB / 478.1 MB Notification: Performance of Templates: time 0.2782/0.7827, allocations: 41.1 MB / 0.6342 GB, free: 137.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1)