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.00157/0.00157, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.0019/0.0019, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.349/1.349, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2111/0.2111, allocations: 46.94 MB / 361.6 MB, free: 3.934 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.002128/0.002128, allocations: 75.88 kB / 0.4969 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.28, allocations: 66.09 MB / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02971/0.3097, allocations: 25.89 MB / 0.5867 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.3252, allocations: 11.76 MB / 0.5982 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.3255, allocations: 15.88 kB / 0.5982 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007176/0.3263, allocations: 230.4 kB / 0.5984 GB, free: 14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008763/0.335, allocations: 3.653 MB / 0.602 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005718/0.3407, allocations: 2.358 MB / 0.6043 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.3419, allocations: 0.9158 MB / 0.6052 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.3423, allocations: 212.8 kB / 0.6054 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007278/0.343, allocations: 442.3 kB / 0.6058 GB, free: 6.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003745/0.3434, allocations: 294.7 kB / 0.6061 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.001e-05/0.3434, allocations: 32 kB / 0.6061 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01262/0.356, allocations: 7.184 MB / 0.6132 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.3562, allocations: 107.7 kB / 0.6133 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.3565, allocations: 187.2 kB / 0.6134 GB, free: 14.63 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008919/0.3654, allocations: 4.42 MB / 0.6178 GB, free: 10.2 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3654, allocations: 0 / 0.6178 GB, free: 10.2 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3654, allocations: 0 / 0.6178 GB, free: 10.2 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3654, allocations: 4 kB / 0.6178 GB, free: 10.19 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.003347/0.3688, allocations: 1.207 MB / 0.6189 GB, free: 8.949 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3688, allocations: 12.03 kB / 0.619 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.977e-05/0.3688, allocations: 4.844 kB / 0.619 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.788e-05/0.3689, allocations: 66.72 kB / 0.619 GB, free: 8.859 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.3706, allocations: 212.5 kB / 0.6192 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.3712, allocations: 317.2 kB / 0.6195 GB, free: 8.312 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.3712, allocations: 29.03 kB / 0.6196 GB, free: 8.285 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.3713, allocations: 27.94 kB / 0.6196 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.3729, allocations: 0.7408 MB / 0.6203 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3729, allocations: 7.938 kB / 0.6203 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.373, allocations: 12 kB / 0.6203 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.373, allocations: 11.94 kB / 0.6203 GB, free: 7.406 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.3747, allocations: 0.5449 MB / 0.6209 GB, free: 6.863 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.002766/0.3774, allocations: 1.907 MB / 0.6227 GB, free: 4.875 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.379, allocations: 450.1 kB / 0.6232 GB, free: 4.426 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004837/0.3795, allocations: 188.7 kB / 0.6233 GB, free: 4.238 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04409/0.4236, allocations: 13.2 MB / 0.6362 GB, free: 7.023 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.4237, allocations: 46.44 kB / 0.6363 GB, free: 6.969 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.725e-06/0.4237, allocations: 0 / 0.6363 GB, free: 6.969 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.002941/0.4266, allocations: 0.8208 MB / 0.6371 GB, free: 6.141 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.4267, allocations: 114.8 kB / 0.6372 GB, free: 6.004 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.427, allocations: 308.5 kB / 0.6375 GB, free: 5.695 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.4271, allocations: 29.7 kB / 0.6375 GB, free: 5.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.4272, allocations: 212.5 kB / 0.6377 GB, free: 5.449 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.659e-05/0.4273, allocations: 87.22 kB / 0.6378 GB, free: 5.363 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.4274, allocations: 69.69 kB / 0.6379 GB, free: 5.289 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4276, allocations: 342.8 kB / 0.6382 GB, free: 4.945 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.428, allocations: 151.9 kB / 0.6383 GB, free: 4.797 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.4285, allocations: 295.1 kB / 0.6386 GB, free: 4.457 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.4294, allocations: 381.1 kB / 0.639 GB, free: 4.051 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4294, allocations: 0 / 0.639 GB, free: 4.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001057/0.4305, allocations: 441.8 kB / 0.6394 GB, free: 3.613 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4305, allocations: 8 kB / 0.6394 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4305, allocations: 3.938 kB / 0.6394 GB, free: 3.602 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4305, allocations: 4 kB / 0.6394 GB, free: 3.598 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.4309, allocations: 99.8 kB / 0.6395 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.4309, allocations: 8.297 kB / 0.6395 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.4311, allocations: 47.81 kB / 0.6396 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.4312, allocations: 16 kB / 0.6396 GB, free: 3.43 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.0001979/0.4314, allocations: 165.9 kB / 0.6397 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.4315, allocations: 35.77 kB / 0.6398 GB, free: 3.223 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.4342, allocations: 1.991 MB / 0.6417 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/0.4342, allocations: 35.94 kB / 0.6417 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4342, allocations: 0 / 0.6417 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4342, allocations: 0 / 0.6417 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.4353, allocations: 0.9642 MB / 0.6427 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4353, allocations: 0 / 0.6427 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.4356, allocations: 83.8 kB / 0.6428 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4356, allocations: 0 / 0.6428 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.4356, allocations: 11.94 kB / 0.6428 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.4356, allocations: 7.984 kB / 0.6428 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4356, allocations: 0 / 0.6428 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.4372, allocations: 1.128 MB / 0.6439 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.4373, allocations: 95.16 kB / 0.644 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.4374, allocations: 35.72 kB / 0.644 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.4377, allocations: 27.97 kB / 0.644 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-05/0.4378, allocations: 31.94 kB / 0.6441 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.4378, allocations: 12 kB / 0.6441 GB, free: 14.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003682/0.4382, allocations: 331.1 kB / 0.6444 GB, free: 14.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4382, allocations: 0 / 0.6444 GB, free: 14.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002573/0.4408, allocations: 1.01 MB / 0.6454 GB, free: 13.39 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.006089/0.4469, allocations: 2.744 MB / 0.6481 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.4482, allocations: 0.6144 MB / 0.6487 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4482, allocations: 0 / 0.6487 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006728/0.4489, allocations: 425 kB / 0.6491 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.45, allocations: 219.4 kB / 0.6493 GB, free: 9.375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008272/0.4583, allocations: 5.065 MB / 0.6542 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.4586, allocations: 374.2 kB / 0.6546 GB, free: 3.766 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000493/0.4591, allocations: 281.6 kB / 0.6548 GB, free: 3.496 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.4594, allocations: 259.3 kB / 0.6551 GB, free: 3.242 MB / 494.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4594, allocations: 0 / 0.6551 GB, free: 3.242 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08213/0.5416, allocations: 48.03 MB / 0.702 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.06, allocations: 15.78 kB / 0.702 GB, free: 3.391 MB / 0.5294 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.95512314105872] 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.26215639396105 15.27909964 14.910350842 Calling exit ...