Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 111.6 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.001193/0.001193, allocations: 207.9 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.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 79.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3044, allocations: 62.43 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.05437/0.3588, allocations: 51.8 MB / 0.5823 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.3715, allocations: 7.374 MB / 0.5895 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.373, allocations: 43.62 kB / 0.5895 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.3745, allocations: 0.5158 MB / 0.59 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007239/0.3818, allocations: 3.133 MB / 0.5931 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004699/0.3865, allocations: 2.165 MB / 0.5952 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003567/0.3901, allocations: 2.908 MB / 0.598 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.3915, allocations: 0.9584 MB / 0.599 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006064/0.3976, allocations: 4.298 MB / 0.6031 GB, free: 8.488 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003637/0.4012, allocations: 2.56 MB / 0.6056 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003527/0.4016, allocations: 108 kB / 0.6058 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005086/0.4067, allocations: 2.894 MB / 0.6086 GB, free: 2.918 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004188/0.4071, allocations: 326.9 kB / 0.6089 GB, free: 2.598 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009615/0.4081, allocations: 0.6959 MB / 0.6096 GB, free: 1.898 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.4114, allocations: 2.353 MB / 0.6119 GB, free: 15.54 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4114, allocations: 4 kB / 0.6119 GB, free: 15.54 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4114, allocations: 0 / 0.6119 GB, free: 15.54 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.4114, allocations: 0 / 0.6119 GB, free: 15.54 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003015/0.4145, allocations: 1.799 MB / 0.6136 GB, free: 13.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4145, allocations: 12.03 kB / 0.6136 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/0.4172, allocations: 319.1 kB / 0.6139 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.4184, allocations: 0.8148 MB / 0.6147 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.4185, allocations: 66 kB / 0.6148 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.4186, allocations: 80 kB / 0.6149 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.4214, allocations: 1.2 MB / 0.616 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.4214, allocations: 11.94 kB / 0.6161 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.4215, allocations: 36 kB / 0.6161 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.4216, allocations: 28 kB / 0.6161 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.4242, allocations: 0.9679 MB / 0.6171 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005902/0.4301, allocations: 5.392 MB / 0.6223 GB, free: 4.219 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.4321, allocations: 0.6378 MB / 0.623 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/0.4328, allocations: 342.3 kB / 0.6233 GB, free: 3.238 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008212/0.4336, allocations: 1.382 MB / 0.6246 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.4337, allocations: 47.12 kB / 0.6247 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004456/0.4341, allocations: 94.95 kB / 0.6248 GB, free: 1.391 MB / 478.1 MB Notification: Performance of pre-optimization done (n=65): time 2.464e-06/0.4341, allocations: 0 / 0.6248 GB, free: 1.391 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.005988/0.4401, allocations: 1.62 MB / 0.6263 GB, free: 15.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/0.4402, allocations: 188.5 kB / 0.6265 GB, free: 15.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.4414, allocations: 0.9774 MB / 0.6275 GB, free: 14.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.75e-05/0.4415, allocations: 37.7 kB / 0.6275 GB, free: 14.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.4418, allocations: 0.5036 MB / 0.628 GB, free: 13.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.442, allocations: 236.6 kB / 0.6282 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/0.4423, allocations: 198.5 kB / 0.6284 GB, free: 13.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4424, allocations: 341.9 kB / 0.6288 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007556/0.4432, allocations: 348.6 kB / 0.6291 GB, free: 12.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009018/0.4441, allocations: 0.5359 MB / 0.6296 GB, free: 12.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.4458, allocations: 0.8537 MB / 0.6304 GB, free: 11.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4458, allocations: 4 kB / 0.6304 GB, free: 11.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002357/0.4481, allocations: 1.141 MB / 0.6316 GB, free: 10.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4482, allocations: 4 kB / 0.6316 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.4482, allocations: 12.03 kB / 0.6316 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006013/0.4542, allocations: 0.7493 MB / 0.6323 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009375/0.4552, allocations: 243.6 kB / 0.6325 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009261/0.4561, allocations: 0.7746 MB / 0.6333 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.4571, allocations: 60 kB / 0.6334 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.4573, allocations: 67.95 kB / 0.6334 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001067/0.4584, allocations: 0.4901 MB / 0.6339 GB, free: 7.734 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008958/0.4593, allocations: 0.5439 MB / 0.6344 GB, free: 7.098 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001517/0.4608, allocations: 0.8424 MB / 0.6352 GB, free: 6.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.466e-06/0.4608, allocations: 0 / 0.6352 GB, free: 6.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.002355/0.4632, allocations: 1.098 MB / 0.6363 GB, free: 5.066 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4632, allocations: 10.19 kB / 0.6363 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4632, allocations: 8 kB / 0.6363 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003317/0.4636, allocations: 80.8 kB / 0.6364 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.4645, allocations: 259.8 kB / 0.6367 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.4661, allocations: 1.831 MB / 0.6385 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007828/0.4669, allocations: 55.89 kB / 0.6385 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.455e-05/0.467, allocations: 60.19 kB / 0.6386 GB, free: 2.629 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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 {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002985/0.4674, allocations: 236 kB / 0.6388 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.4676, allocations: 118.6 kB / 0.6389 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003703/0.4713, allocations: 2.072 MB / 0.6409 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4713, allocations: 3.984 kB / 0.6409 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4713, allocations: 7.938 kB / 0.6409 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/0.4718, allocations: 271.7 kB / 0.6412 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.472, allocations: 15.91 kB / 0.6412 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000646/0.4726, allocations: 43.95 kB / 0.6413 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.4727, allocations: 48.44 kB / 0.6413 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002269/0.475, allocations: 0.9315 MB / 0.6422 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002262/0.4773, allocations: 1.241 MB / 0.6434 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006181/0.4779, allocations: 280.3 kB / 0.6437 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001024/0.479, allocations: 0.7457 MB / 0.6444 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of Backend: time 1.803e-06/0.479, allocations: 0 / 0.6444 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004496/0.4835, allocations: 1.775 MB / 0.6461 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of SimCode: time 0.004332/0.4878, allocations: 2.702 MB / 0.6488 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.0548/0.5426, allocations: 35.74 MB / 0.6837 GB, free: 4.465 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1)