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.00134/0.001341, allocations: 114.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2083/0.2083, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3334, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.04909/0.3825, allocations: 47.59 MB / 0.5781 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03335/0.4159, allocations: 25.96 MB / 0.6035 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.4172, allocations: 35.75 kB / 0.6035 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.419, allocations: 0.5048 MB / 0.604 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01671/0.4357, allocations: 6.071 MB / 0.6099 GB, free: 1.332 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0112/0.4469, allocations: 3.914 MB / 0.6138 GB, free: 13.42 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00354/0.4505, allocations: 2.627 MB / 0.6163 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.4515, allocations: 0.5919 MB / 0.6169 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01174/0.4633, allocations: 5.895 MB / 0.6227 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01667/0.48, allocations: 8.807 MB / 0.6313 GB, free: 11.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000533/0.4806, allocations: 84 kB / 0.6313 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0176/0.4982, allocations: 8.573 MB / 0.6397 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006207/0.4988, allocations: 347 kB / 0.64 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.5, allocations: 0.5522 MB / 0.6406 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.5147, allocations: 6.096 MB / 0.6465 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.5148, allocations: 0 / 0.6465 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5148, allocations: 0 / 0.6465 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.673e-05/0.5148, allocations: 0 / 0.6465 GB, free: 11.59 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.005917/0.5207, allocations: 2.124 MB / 0.6486 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5208, allocations: 12.03 kB / 0.6486 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/0.5233, allocations: 358.8 kB / 0.649 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.5352, allocations: 7.126 MB / 0.6559 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.5354, allocations: 69.92 kB / 0.656 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.5356, allocations: 76 kB / 0.6561 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/0.5391, allocations: 1.428 MB / 0.6575 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.5391, allocations: 4 kB / 0.6575 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.5392, allocations: 28 kB / 0.6575 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.122e-05/0.5393, allocations: 77.83 kB / 0.6576 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003268/0.5426, allocations: 1.292 MB / 0.6588 GB, free: 14.82 MB / 0.5137 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.007979/0.5506, allocations: 6.519 MB / 0.6652 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/0.5533, allocations: 0.9797 MB / 0.6661 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007933/0.5541, allocations: 431.6 kB / 0.6666 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06432/0.6184, allocations: 35.61 MB / 0.7013 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.6185, allocations: 50.98 kB / 0.7014 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=56): time 3.436e-06/0.6185, allocations: 0 / 0.7014 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.008805/0.6274, allocations: 3.203 MB / 0.7045 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.6274, allocations: 166.8 kB / 0.7047 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008764/0.6283, allocations: 0.7114 MB / 0.7054 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.6284, allocations: 37.7 kB / 0.7054 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.6287, allocations: 419.6 kB / 0.7058 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.6289, allocations: 212.9 kB / 0.706 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.6291, allocations: 166.5 kB / 0.7062 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6293, allocations: 394.7 kB / 0.7065 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000814/0.6301, allocations: 416.6 kB / 0.7069 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009514/0.6311, allocations: 0.6132 MB / 0.7075 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.6329, allocations: 1.01 MB / 0.7085 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.6329, allocations: 4 kB / 0.7085 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002589/0.6355, allocations: 1.338 MB / 0.7098 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.6355, allocations: 11.94 kB / 0.7098 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.6355, allocations: 7.984 kB / 0.7099 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003155/0.6387, allocations: 0.6723 MB / 0.7105 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.6393, allocations: 151.8 kB / 0.7107 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.6409, allocations: 1.286 MB / 0.7119 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006627/0.6416, allocations: 55.8 kB / 0.712 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/0.6417, allocations: 39.98 kB / 0.712 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001049/0.6427, allocations: 0.6033 MB / 0.7126 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009102/0.6437, allocations: 0.5898 MB / 0.7132 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001687/0.6454, allocations: 0.9751 MB / 0.7141 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.38e-06/0.6454, allocations: 4 kB / 0.7141 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.002755/0.6481, allocations: 1.284 MB / 0.7154 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.6482, allocations: 8 kB / 0.7154 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.6482, allocations: 7.938 kB / 0.7154 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.6499, allocations: 424.5 kB / 0.7158 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.6505, allocations: 163.7 kB / 0.7159 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.6518, allocations: 1.106 MB / 0.717 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/0.6524, allocations: 47.95 kB / 0.7171 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/0.6525, allocations: 39.98 kB / 0.7171 GB, free: 13.46 MB / 0.5762 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.0002581/0.6528, allocations: 235.1 kB / 0.7173 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.653, allocations: 82.97 kB / 0.7174 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/0.6571, allocations: 3.236 MB / 0.7206 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003039/0.6602, allocations: 2.735 MB / 0.7232 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6602, allocations: 0 / 0.7232 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.6606, allocations: 302.9 kB / 0.7235 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.6608, allocations: 67.27 kB / 0.7236 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006788/0.6615, allocations: 59.92 kB / 0.7237 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.6617, allocations: 60.52 kB / 0.7237 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002822/0.6645, allocations: 1.933 MB / 0.7256 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003597/0.6681, allocations: 2.829 MB / 0.7284 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001052/0.6692, allocations: 0.8302 MB / 0.7292 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001057/0.6702, allocations: 0.7941 MB / 0.73 GB, free: 160 kB / 0.5762 GB Notification: Performance of Backend: time 2.21e-07/0.6702, allocations: 4.062 kB / 0.73 GB, free: 156 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2389/0.9092, allocations: 3.048 MB / 0.7329 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004441/0.9136, allocations: 3.034 MB / 0.7359 GB, free: 190.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.07292/0.9866, allocations: 65.77 MB / 0.8001 GB, free: 132.2 MB / 0.5762 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)