Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001177, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.00159, allocations: 79.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.335, allocations: 62.44 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.04342/0.3785, allocations: 47.59 MB / 0.5781 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03161/0.4101, allocations: 25.96 MB / 0.6035 GB, free: 8.129 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.4119, allocations: 39.75 kB / 0.6035 GB, free: 8.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.4134, allocations: 0.5048 MB / 0.604 GB, free: 7.582 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01721/0.4306, allocations: 6.095 MB / 0.61 GB, free: 1.484 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.4413, allocations: 3.91 MB / 0.6138 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004361/0.4456, allocations: 2.638 MB / 0.6164 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009316/0.4466, allocations: 0.5957 MB / 0.6169 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01291/0.4595, allocations: 5.899 MB / 0.6227 GB, free: 4.344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01795/0.4775, allocations: 8.792 MB / 0.6313 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002653/0.4778, allocations: 84 kB / 0.6314 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01648/0.4942, allocations: 8.577 MB / 0.6397 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004341/0.4947, allocations: 347 kB / 0.6401 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007644/0.4955, allocations: 0.5483 MB / 0.6406 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01396/0.5094, allocations: 6.125 MB / 0.6466 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5095, allocations: 0 / 0.6466 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.438e-06/0.5095, allocations: 0 / 0.6466 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.812e-05/0.5095, allocations: 3.938 kB / 0.6466 GB, free: 11.71 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00708/0.5166, allocations: 2.192 MB / 0.6487 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.5167, allocations: 8.031 kB / 0.6487 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00267/0.5194, allocations: 367.3 kB / 0.6491 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/0.5308, allocations: 7.13 MB / 0.6561 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-05/0.5309, allocations: 77.95 kB / 0.6561 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.5311, allocations: 75.98 kB / 0.6562 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/0.5344, allocations: 1.432 MB / 0.6576 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.5344, allocations: 4 kB / 0.6576 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.5345, allocations: 31.98 kB / 0.6576 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-05/0.5346, allocations: 69.83 kB / 0.6577 GB, free: 148 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/0.5379, allocations: 1.296 MB / 0.659 GB, free: 14.85 MB / 0.5138 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.008011/0.5459, allocations: 6.515 MB / 0.6653 GB, free: 7.789 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002998/0.5489, allocations: 0.9775 MB / 0.6663 GB, free: 6.781 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008002/0.5497, allocations: 435.6 kB / 0.6667 GB, free: 6.348 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06232/0.612, allocations: 35.62 MB / 0.7015 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.6121, allocations: 39 kB / 0.7015 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=56): time 2.695e-06/0.6121, allocations: 0 / 0.7015 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.008784/0.6209, allocations: 3.246 MB / 0.7047 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.621, allocations: 162.8 kB / 0.7048 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008935/0.6219, allocations: 0.7115 MB / 0.7055 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.622, allocations: 37.7 kB / 0.7056 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.6223, allocations: 432.4 kB / 0.706 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.6225, allocations: 218.1 kB / 0.7062 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.6227, allocations: 170.6 kB / 0.7064 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6229, allocations: 394.7 kB / 0.7067 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008191/0.6237, allocations: 404.6 kB / 0.7071 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009779/0.6247, allocations: 0.6171 MB / 0.7077 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.6265, allocations: 1.01 MB / 0.7087 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6265, allocations: 8 kB / 0.7087 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002583/0.6291, allocations: 1.346 MB / 0.71 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.6291, allocations: 8 kB / 0.71 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.6292, allocations: 4 kB / 0.71 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003095/0.6323, allocations: 0.6721 MB / 0.7107 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/0.6328, allocations: 163.7 kB / 0.7109 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.6344, allocations: 1.282 MB / 0.7121 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/0.6351, allocations: 52.02 kB / 0.7122 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-05/0.6352, allocations: 43.92 kB / 0.7122 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00104/0.6362, allocations: 0.5915 MB / 0.7128 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009256/0.6371, allocations: 0.5976 MB / 0.7134 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001699/0.6389, allocations: 0.9712 MB / 0.7143 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.021e-06/0.6389, allocations: 4 kB / 0.7143 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.002726/0.6416, allocations: 1.288 MB / 0.7156 GB, free: 15.24 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6416, allocations: 8 kB / 0.7156 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.6416, allocations: 7.75 kB / 0.7156 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/0.6434, allocations: 428.8 kB / 0.716 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.644, allocations: 163.8 kB / 0.7162 GB, free: 14.65 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.6452, allocations: 1.105 MB / 0.7172 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006101/0.6458, allocations: 51.97 kB / 0.7173 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/0.6459, allocations: 47.91 kB / 0.7173 GB, free: 13.42 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 (pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,sink.medium.phase,pipe.statesFM[2].phase,source.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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 {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.000242/0.6462, allocations: 229.2 kB / 0.7175 GB, free: 13.19 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.6464, allocations: 87.47 kB / 0.7176 GB, free: 13.11 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/0.6507, allocations: 3.247 MB / 0.7208 GB, free: 9.844 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003142/0.6538, allocations: 2.735 MB / 0.7235 GB, free: 7.035 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6538, allocations: 3.938 kB / 0.7235 GB, free: 7.031 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004426/0.6543, allocations: 303.7 kB / 0.7238 GB, free: 6.715 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.6545, allocations: 63.52 kB / 0.7238 GB, free: 6.652 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.6552, allocations: 63.92 kB / 0.7239 GB, free: 6.59 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.6554, allocations: 60.56 kB / 0.7239 GB, free: 6.531 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002918/0.6583, allocations: 1.93 MB / 0.7258 GB, free: 4.59 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003714/0.662, allocations: 2.838 MB / 0.7286 GB, free: 1.73 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00106/0.6631, allocations: 0.8342 MB / 0.7294 GB, free: 0.8945 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.001045/0.6642, allocations: 0.7941 MB / 0.7302 GB, free: 96 kB / 0.5763 GB Notification: Performance of Backend: time 3.91e-07/0.6642, allocations: 0 / 0.7302 GB, free: 96 kB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.242/0.9062, allocations: 3.07 MB / 0.7332 GB, free: 192 MB / 0.5763 GB Notification: Performance of SimCode: time 0.003906/0.9101, allocations: 3.079 MB / 0.7362 GB, free: 190.3 MB / 0.5763 GB Notification: Performance of Templates: time 0.06456/0.9747, allocations: 65.08 MB / 0.7997 GB, free: 132.9 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1)