Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 210.7 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.93 MB / 361.6 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 79.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2853, allocations: 66.09 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03364/0.3189, allocations: 28.67 MB / 0.5895 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01697/0.3359, allocations: 13.39 MB / 0.6026 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003258/0.3362, allocations: 15.81 kB / 0.6026 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007062/0.337, allocations: 258.4 kB / 0.6028 GB, free: 9.812 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008794/0.3457, allocations: 3.675 MB / 0.6064 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006033/0.3518, allocations: 2.391 MB / 0.6088 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.3531, allocations: 0.9119 MB / 0.6096 GB, free: 2.836 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.3535, allocations: 216.9 kB / 0.6099 GB, free: 2.617 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007737/0.3543, allocations: 458.2 kB / 0.6103 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.3546, allocations: 282.8 kB / 0.6106 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.3547, allocations: 35.98 kB / 0.6106 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0136/0.3683, allocations: 7.258 MB / 0.6177 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.3685, allocations: 103.7 kB / 0.6178 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.3688, allocations: 219 kB / 0.618 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009995/0.3788, allocations: 4.439 MB / 0.6223 GB, free: 5.824 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3788, allocations: 0 / 0.6223 GB, free: 5.824 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3788, allocations: 0 / 0.6223 GB, free: 5.824 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3788, allocations: 4 kB / 0.6223 GB, free: 5.82 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003456/0.3822, allocations: 1.211 MB / 0.6235 GB, free: 4.574 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3823, allocations: 8.031 kB / 0.6235 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.433e-05/0.3823, allocations: 8.844 kB / 0.6235 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.824e-05/0.3824, allocations: 74.72 kB / 0.6236 GB, free: 4.477 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.384, allocations: 204.5 kB / 0.6238 GB, free: 4.277 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.3846, allocations: 317.2 kB / 0.6241 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.3847, allocations: 25.03 kB / 0.6241 GB, free: 3.914 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.3847, allocations: 31.94 kB / 0.6242 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.3864, allocations: 0.5863 MB / 0.6247 GB, free: 3.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3864, allocations: 3.938 kB / 0.6247 GB, free: 3.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.3864, allocations: 24 kB / 0.6247 GB, free: 3.227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3864, allocations: 4 kB / 0.6248 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.3881, allocations: 0.5527 MB / 0.6253 GB, free: 2.672 MB / 462.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.003305/0.3914, allocations: 2.519 MB / 0.6278 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.393, allocations: 446.2 kB / 0.6282 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/0.3935, allocations: 196.6 kB / 0.6284 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04609/0.4396, allocations: 13.15 MB / 0.6412 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.4397, allocations: 34.56 kB / 0.6412 GB, free: 2.086 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.4397, allocations: 0 / 0.6412 GB, free: 2.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.002985/0.4427, allocations: 0.8286 MB / 0.6421 GB, free: 1.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.4428, allocations: 106.8 kB / 0.6422 GB, free: 1.121 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.4431, allocations: 312.4 kB / 0.6425 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.4432, allocations: 33.7 kB / 0.6425 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.4433, allocations: 208.5 kB / 0.6427 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/0.4434, allocations: 87.2 kB / 0.6428 GB, free: 488 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.4435, allocations: 69.69 kB / 0.6428 GB, free: 412 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4437, allocations: 346.8 kB / 0.6432 GB, free: 56 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.4441, allocations: 147.9 kB / 0.6433 GB, free: 15.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005199/0.4446, allocations: 247.7 kB / 0.6435 GB, free: 15.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.4456, allocations: 373.1 kB / 0.6439 GB, free: 15.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4456, allocations: 0 / 0.6439 GB, free: 15.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001117/0.4467, allocations: 445.8 kB / 0.6443 GB, free: 14.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4467, allocations: 8.312 kB / 0.6443 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4467, allocations: 11.94 kB / 0.6443 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4467, allocations: 4 kB / 0.6443 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.4471, allocations: 87.88 kB / 0.6444 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.4471, allocations: 7.938 kB / 0.6444 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.4474, allocations: 47.8 kB / 0.6445 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.4474, allocations: 16 kB / 0.6445 GB, free: 14.61 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 35 * 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.0002028/0.4476, allocations: 169.9 kB / 0.6447 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.4477, allocations: 35.77 kB / 0.6447 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/0.4504, allocations: 1.994 MB / 0.6466 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/0.4504, allocations: 27.95 kB / 0.6467 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4504, allocations: 0 / 0.6467 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.4504, allocations: 3.984 kB / 0.6467 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.4516, allocations: 1.023 MB / 0.6477 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4516, allocations: 8 kB / 0.6477 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.4519, allocations: 79.86 kB / 0.6478 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.4519, allocations: 0 / 0.6478 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.4519, allocations: 11.94 kB / 0.6478 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4519, allocations: 0 / 0.6478 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4519, allocations: 0 / 0.6478 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.4536, allocations: 1.132 MB / 0.6489 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.4537, allocations: 87.17 kB / 0.649 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.4538, allocations: 27.72 kB / 0.649 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.4541, allocations: 31.97 kB / 0.649 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4542, allocations: 39.88 kB / 0.649 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.4542, allocations: 11.98 kB / 0.6491 GB, free: 9.852 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003862/0.4546, allocations: 327.1 kB / 0.6494 GB, free: 9.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4546, allocations: 0 / 0.6494 GB, free: 9.531 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002708/0.4573, allocations: 1.01 MB / 0.6504 GB, free: 8.52 MB / 494.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,$cse11.phase,$cse11.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 (35): * Single equations (assignments): 26 * 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.006135/0.4635, allocations: 2.744 MB / 0.653 GB, free: 5.746 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.4648, allocations: 0.61 MB / 0.6536 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4648, allocations: 0.625 kB / 0.6536 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006903/0.4655, allocations: 437 kB / 0.6541 GB, free: 4.703 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.4666, allocations: 210.1 kB / 0.6543 GB, free: 4.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008514/0.4752, allocations: 5.073 MB / 0.6592 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006157/0.4758, allocations: 0.9599 MB / 0.6601 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00051/0.4763, allocations: 281.4 kB / 0.6604 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.4766, allocations: 259.3 kB / 0.6607 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/0.4766, allocations: 0 / 0.6607 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08902/0.5656, allocations: 47.8 MB / 0.7073 GB, free: 14.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.59, allocations: 22.39 kB / 0.7074 GB, free: 14.06 MB / 0.545 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.413538018998224] Failed to read output from testmodel.py, exit status != 0: ['time', 'SourceP1.ports[1].m_flow', 'SourceP1.ports[1].p', 'SourceP1.ports[1].h_outflow', 'V1.port_b.m_flow', 'V1.port_b.p', 'V1.port_b.h_outflow', 'SinkP1.ports[1].m_flow', 'SinkP1.ports[1].p', 'SinkP1.ports[1].h_outflow', 'Opening.y', 'downstreamPressure.y'] 14.789499142963905 14.804775465 14.42277486 Calling exit ...