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.001269/0.001269, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.001377/0.001377, allocations: 222.2 kB / 21.46 MB, free: 1.582 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.431/1.431, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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.2116/0.2116, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.002144/0.002144, allocations: 79.88 kB / 0.4917 GB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1161, allocations: 66.05 MB / 0.5562 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03101/0.1471, allocations: 28.45 MB / 0.5839 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2586/0.4056, allocations: 13.33 MB / 0.5969 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.406, allocations: 18.09 kB / 0.597 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007326/0.4067, allocations: 249.3 kB / 0.5972 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.4169, allocations: 3.678 MB / 0.6008 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005876/0.4227, allocations: 2.376 MB / 0.6031 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.4239, allocations: 0.9018 MB / 0.604 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.4243, allocations: 218.8 kB / 0.6042 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007535/0.4251, allocations: 456.3 kB / 0.6046 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/0.4254, allocations: 281.4 kB / 0.6049 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.4255, allocations: 33.34 kB / 0.6049 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01496/0.4404, allocations: 7.261 MB / 0.612 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.4406, allocations: 100.6 kB / 0.6121 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.441, allocations: 223.3 kB / 0.6123 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.451, allocations: 4.431 MB / 0.6167 GB, free: 2.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4511, allocations: 0 / 0.6167 GB, free: 2.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4511, allocations: 5.094 kB / 0.6167 GB, free: 2.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.4511, allocations: 0 / 0.6167 GB, free: 2.312 MB / 446.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.003732/0.4548, allocations: 1.278 MB / 0.6179 GB, free: 1.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4548, allocations: 9.688 kB / 0.6179 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.806e-05/0.4549, allocations: 12.41 kB / 0.6179 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.4549, allocations: 70.84 kB / 0.618 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.4566, allocations: 216.3 kB / 0.6182 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.4571, allocations: 379.8 kB / 0.6186 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.4571, allocations: 28.62 kB / 0.6186 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.4572, allocations: 32 kB / 0.6186 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.4586, allocations: 0.5829 MB / 0.6192 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4587, allocations: 8.688 kB / 0.6192 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.4587, allocations: 15.09 kB / 0.6192 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.4587, allocations: 16.33 kB / 0.6192 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.4603, allocations: 0.539 MB / 0.6198 GB, free: 0.6055 MB / 446.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.002977/0.4633, allocations: 2.624 MB / 0.6223 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.4649, allocations: 443.9 kB / 0.6228 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.4654, allocations: 191.8 kB / 0.6229 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05199/0.5174, allocations: 26.89 MB / 0.6492 GB, free: 5.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.5174, allocations: 38.56 kB / 0.6492 GB, free: 5.523 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/0.5174, allocations: 0 / 0.6492 GB, free: 5.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.00303/0.5204, allocations: 0.8178 MB / 0.65 GB, free: 4.699 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/0.5205, allocations: 106.8 kB / 0.6501 GB, free: 4.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.5209, allocations: 316.5 kB / 0.6504 GB, free: 4.254 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.5209, allocations: 29.7 kB / 0.6505 GB, free: 4.219 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.5211, allocations: 211.4 kB / 0.6507 GB, free: 4.012 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.237e-05/0.5212, allocations: 87.27 kB / 0.6507 GB, free: 3.926 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.5213, allocations: 69.64 kB / 0.6508 GB, free: 3.852 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5214, allocations: 342.8 kB / 0.6511 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.5219, allocations: 145.4 kB / 0.6513 GB, free: 3.367 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.5224, allocations: 256.4 kB / 0.6515 GB, free: 3.078 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009378/0.5234, allocations: 377.9 kB / 0.6519 GB, free: 2.676 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5234, allocations: 0 / 0.6519 GB, free: 2.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001129/0.5245, allocations: 445.2 kB / 0.6523 GB, free: 2.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5245, allocations: 12.02 kB / 0.6523 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5245, allocations: 4 kB / 0.6523 GB, free: 2.219 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.5246, allocations: 7.938 kB / 0.6523 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.5249, allocations: 83.88 kB / 0.6524 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5249, allocations: 4 kB / 0.6524 GB, free: 2.125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.5253, allocations: 51.7 kB / 0.6525 GB, free: 2.074 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.5253, allocations: 19.98 kB / 0.6525 GB, free: 2.055 MB / 478.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.0002/0.5255, allocations: 165.7 kB / 0.6526 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/0.5256, allocations: 35.81 kB / 0.6527 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/0.5282, allocations: 1.921 MB / 0.6546 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.278e-05/0.5283, allocations: 27.95 kB / 0.6546 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5283, allocations: 1.375 kB / 0.6546 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5283, allocations: 0 / 0.6546 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.5293, allocations: 1.025 MB / 0.6556 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.5293, allocations: 4 kB / 0.6556 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.5297, allocations: 75.88 kB / 0.6557 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5297, allocations: 0 / 0.6557 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.5297, allocations: 15.92 kB / 0.6557 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5297, allocations: 0 / 0.6557 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5297, allocations: 0 / 0.6557 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.5314, allocations: 1.102 MB / 0.6567 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.5315, allocations: 172.3 kB / 0.6569 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.5316, allocations: 27.77 kB / 0.6569 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.5318, allocations: 27.97 kB / 0.657 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.5319, allocations: 31.95 kB / 0.657 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.532, allocations: 12 kB / 0.657 GB, free: 13.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003672/0.5323, allocations: 327.1 kB / 0.6573 GB, free: 13.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5323, allocations: 0 / 0.6573 GB, free: 13.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003521/0.5359, allocations: 1.014 MB / 0.6583 GB, free: 12 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.007286/0.5431, allocations: 2.726 MB / 0.661 GB, free: 9.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.5445, allocations: 0.5943 MB / 0.6616 GB, free: 8.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5445, allocations: 4.562 kB / 0.6616 GB, free: 8.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006749/0.5452, allocations: 413 kB / 0.662 GB, free: 8.344 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.5464, allocations: 218.9 kB / 0.6622 GB, free: 8.137 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009256/0.5556, allocations: 5.04 MB / 0.6671 GB, free: 2.961 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.5562, allocations: 0.9638 MB / 0.668 GB, free: 1.969 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004914/0.5567, allocations: 282.7 kB / 0.6683 GB, free: 1.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.557, allocations: 259.3 kB / 0.6685 GB, free: 1.441 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.557, allocations: 0 / 0.6685 GB, free: 1.441 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07856/0.6356, allocations: 46.86 MB / 0.7143 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.85, allocations: 11.92 kB / 0.7143 GB, free: 2.699 MB / 0.5294 GB " [Timeout remaining time 648] (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: 14.820338297984563] 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'] 12.018137308012228 12.0335529 11.579355222 Calling exit ...