Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 109.2 kB / 20.48 MB, free: 1.477 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 211.8 kB / 23.79 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 207.6 MB / 234.5 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2253/0.2253, allocations: 44.25 MB / 331.1 MB, free: 9.5 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 67.91 kB / 468.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1125, allocations: 61.04 MB / 0.5169 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2455/0.3581, allocations: 28.52 MB / 0.5448 GB, free: 9.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.3719, allocations: 13.4 MB / 0.5578 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.3722, allocations: 17.53 kB / 0.5579 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007794/0.373, allocations: 246.7 kB / 0.5581 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.384, allocations: 3.669 MB / 0.5617 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007222/0.3912, allocations: 2.377 MB / 0.564 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.3929, allocations: 0.9106 MB / 0.5649 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004017/0.3933, allocations: 224.9 kB / 0.5651 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008228/0.3941, allocations: 446.4 kB / 0.5655 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.3944, allocations: 288.9 kB / 0.5658 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.3945, allocations: 32.53 kB / 0.5658 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.4092, allocations: 7.257 MB / 0.5729 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.4094, allocations: 106.1 kB / 0.573 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.4098, allocations: 221.3 kB / 0.5732 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.4209, allocations: 4.414 MB / 0.5775 GB, free: 14.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.4209, allocations: 0 / 0.5775 GB, free: 14.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4209, allocations: 3.938 kB / 0.5776 GB, free: 14.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.135e-05/0.4209, allocations: 0 / 0.5776 GB, free: 14.58 MB / 430.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.005953/0.4269, allocations: 1.198 MB / 0.5787 GB, free: 13.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4269, allocations: 10.84 kB / 0.5787 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.502e-05/0.427, allocations: 11.91 kB / 0.5787 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.4271, allocations: 64.56 kB / 0.5788 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.4291, allocations: 223.1 kB / 0.579 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007133/0.4298, allocations: 319.5 kB / 0.5793 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.4299, allocations: 30.69 kB / 0.5794 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.4299, allocations: 29.44 kB / 0.5794 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.4317, allocations: 0.5845 MB / 0.58 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4317, allocations: 1.094 kB / 0.58 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/0.4318, allocations: 12.53 kB / 0.58 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.4318, allocations: 7.562 kB / 0.58 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.4336, allocations: 0.5496 MB / 0.5805 GB, free: 12.61 MB / 430.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.00359/0.4372, allocations: 2.523 MB / 0.583 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.4389, allocations: 456.6 kB / 0.5834 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.4394, allocations: 188.1 kB / 0.5836 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04654/0.486, allocations: 12.66 MB / 0.596 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.486, allocations: 42.55 kB / 0.596 GB, free: 2.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.754e-06/0.486, allocations: 0 / 0.596 GB, free: 2.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.003247/0.4893, allocations: 0.822 MB / 0.5968 GB, free: 1.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.4893, allocations: 110.8 kB / 0.5969 GB, free: 1.555 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.4898, allocations: 308.5 kB / 0.5972 GB, free: 1.242 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.4898, allocations: 33.7 kB / 0.5972 GB, free: 1.203 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.49, allocations: 212.5 kB / 0.5974 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.269e-05/0.4901, allocations: 87.2 kB / 0.5975 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.4902, allocations: 73.64 kB / 0.5976 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.4904, allocations: 338.8 kB / 0.5979 GB, free: 500 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.4909, allocations: 151.9 kB / 0.5981 GB, free: 348 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.4915, allocations: 246.9 kB / 0.5983 GB, free: 60 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009859/0.4925, allocations: 381 kB / 0.5986 GB, free: 15.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4925, allocations: 0 / 0.5986 GB, free: 15.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001176/0.4936, allocations: 433.9 kB / 0.5991 GB, free: 15.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4937, allocations: 11.94 kB / 0.5991 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4937, allocations: 4 kB / 0.5991 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4937, allocations: 9.25 kB / 0.5991 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.4941, allocations: 92.17 kB / 0.5992 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.4941, allocations: 4 kB / 0.5992 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.4944, allocations: 59.64 kB / 0.5992 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.4944, allocations: 12 kB / 0.5992 GB, free: 15.04 MB / 446.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.0002131/0.4947, allocations: 157.8 kB / 0.5994 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.845e-05/0.4948, allocations: 31.81 kB / 0.5994 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002876/0.4976, allocations: 2.008 MB / 0.6014 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.365e-05/0.4977, allocations: 27.95 kB / 0.6014 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4977, allocations: 0 / 0.6014 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.4977, allocations: 1.078 kB / 0.6014 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.4989, allocations: 1.015 MB / 0.6024 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4989, allocations: 0 / 0.6024 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.4992, allocations: 80.92 kB / 0.6025 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.4993, allocations: 3.938 kB / 0.6025 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.4993, allocations: 15.94 kB / 0.6025 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4993, allocations: 0 / 0.6025 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4993, allocations: 3.984 kB / 0.6025 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.5011, allocations: 1.128 MB / 0.6036 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.5013, allocations: 95.09 kB / 0.6037 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/0.5013, allocations: 23.78 kB / 0.6037 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.5016, allocations: 30.34 kB / 0.6038 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/0.5017, allocations: 39.94 kB / 0.6038 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.5018, allocations: 8 kB / 0.6038 GB, free: 10.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000393/0.5022, allocations: 327.1 kB / 0.6041 GB, free: 9.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5022, allocations: 0 / 0.6041 GB, free: 9.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004276/0.5064, allocations: 0.9981 MB / 0.6051 GB, free: 8.98 MB / 446.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.01141/0.5178, allocations: 2.757 MB / 0.6078 GB, free: 6.215 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.52, allocations: 0.618 MB / 0.6084 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.52, allocations: 0 / 0.6084 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.5211, allocations: 429.6 kB / 0.6088 GB, free: 5.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.5231, allocations: 227 kB / 0.609 GB, free: 4.969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.5381, allocations: 5.071 MB / 0.614 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007848/0.5389, allocations: 0.9677 MB / 0.6149 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006758/0.5396, allocations: 274.4 kB / 0.6152 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/0.54, allocations: 259.4 kB / 0.6154 GB, free: 14.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.54, allocations: 3.938 kB / 0.6154 GB, free: 14.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/0.6458, allocations: 47.75 MB / 0.662 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.45, allocations: 11.59 kB / 0.6621 GB, free: 14.41 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.47642821399495] 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'] 15.641867451951839 15.657297967 15.233072919 Calling exit ...