Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001523/0.001523, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001704/0.001704, allocations: 216.9 kB / 24.53 MB, free: 4.008 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.406/1.406, allocations: 230.5 MB / 258.2 MB, free: 8 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.2201/0.2201, allocations: 46.92 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.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 75.89 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2993, allocations: 66.08 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.5262/0.8255, allocations: 186.9 MB / 0.744 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005212/0.8307, allocations: 3.695 MB / 0.7476 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007697/0.8314, allocations: 23.66 kB / 0.7476 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008894/0.8323, allocations: 330.6 kB / 0.748 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.8371, allocations: 1.765 MB / 0.7497 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.839, allocations: 0.7253 MB / 0.7504 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001936/0.8409, allocations: 1.552 MB / 0.7519 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005352/0.8414, allocations: 368.8 kB / 0.7522 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000885/0.8423, allocations: 0.5985 MB / 0.7528 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005154/0.8428, allocations: 487.2 kB / 0.7533 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.058e-05/0.8429, allocations: 51 kB / 0.7533 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/0.8464, allocations: 2.424 MB / 0.7557 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.8466, allocations: 165.5 kB / 0.7559 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.847, allocations: 347.5 kB / 0.7562 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.8495, allocations: 2 MB / 0.7582 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8496, allocations: 2.953 kB / 0.7582 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8496, allocations: 0 / 0.7582 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.8496, allocations: 1.094 kB / 0.7582 GB, free: 1.492 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001875/0.8514, allocations: 1.035 MB / 0.7592 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.8515, allocations: 11.16 kB / 0.7592 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.981e-05/0.8515, allocations: 12.78 kB / 0.7592 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.142e-05/0.8516, allocations: 83.52 kB / 0.7593 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009382/0.8525, allocations: 145.4 kB / 0.7594 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.8532, allocations: 421.3 kB / 0.7598 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.8532, allocations: 28.75 kB / 0.7598 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.8533, allocations: 40.75 kB / 0.7599 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008968/0.8542, allocations: 0.5965 MB / 0.7605 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.8542, allocations: 3.984 kB / 0.7605 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/0.8543, allocations: 19.91 kB / 0.7605 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.8543, allocations: 11.38 kB / 0.7605 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/0.8551, allocations: 489.4 kB / 0.761 GB, free: 16.52 MB / 0.5762 GB 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.002706/0.8578, allocations: 2.613 MB / 0.7635 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/0.8584, allocations: 326.8 kB / 0.7638 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.8587, allocations: 156 kB / 0.764 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.8589, allocations: 55.62 kB / 0.764 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.8589, allocations: 43.58 kB / 0.7641 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.8589, allocations: 5 kB / 0.7641 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001545/0.8605, allocations: 0.6443 MB / 0.7647 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.8605, allocations: 134.2 kB / 0.7648 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.861, allocations: 483.9 kB / 0.7653 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.8611, allocations: 36.05 kB / 0.7653 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.8612, allocations: 283.3 kB / 0.7656 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.293e-05/0.8613, allocations: 127.1 kB / 0.7657 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.8615, allocations: 105.6 kB / 0.7658 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.8616, allocations: 362.2 kB / 0.7662 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.8619, allocations: 145.9 kB / 0.7663 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.8622, allocations: 281.8 kB / 0.7666 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.8628, allocations: 442.9 kB / 0.767 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8628, allocations: 2.859 kB / 0.767 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008753/0.8637, allocations: 0.5415 MB / 0.7675 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.8637, allocations: 8.688 kB / 0.7675 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.8637, allocations: 2.812 kB / 0.7675 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.8652, allocations: 234.3 kB / 0.7678 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.8655, allocations: 108.1 kB / 0.7679 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004821/0.866, allocations: 0.5966 MB / 0.7684 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.8663, allocations: 54.53 kB / 0.7685 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.8664, allocations: 44.78 kB / 0.7685 GB, free: 12.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000242/0.8666, allocations: 182.1 kB / 0.7687 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.8668, allocations: 54.33 kB / 0.7688 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.8684, allocations: 1.088 MB / 0.7698 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.8684, allocations: 5.875 kB / 0.7698 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.8684, allocations: 4 kB / 0.7698 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8684, allocations: 3.75 kB / 0.7698 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.8697, allocations: 0.9867 MB / 0.7708 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8697, allocations: 0 / 0.7708 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.8699, allocations: 56.5 kB / 0.7709 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/0.8729, allocations: 442.5 kB / 0.7713 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.8729, allocations: 11.44 kB / 0.7713 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004917/0.8734, allocations: 0.606 MB / 0.7719 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8734, allocations: 4.422 kB / 0.7719 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/0.8742, allocations: 0.5079 MB / 0.7724 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.8743, allocations: 60.56 kB / 0.7724 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.8745, allocations: 23.33 kB / 0.7725 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.8748, allocations: 16.06 kB / 0.7725 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.8749, allocations: 24.17 kB / 0.7725 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.8749, allocations: 20.27 kB / 0.7725 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004523/0.8754, allocations: 406.1 kB / 0.7729 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8754, allocations: 0 / 0.7729 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001033/0.8764, allocations: 342.9 kB / 0.7732 GB, free: 11.25 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (27): * Single equations (assignments): 26 * 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 {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002336/0.8787, allocations: 1.369 MB / 0.7746 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008069/0.8795, allocations: 357.2 kB / 0.7749 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8795, allocations: 0.7188 kB / 0.7749 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.8799, allocations: 162.8 kB / 0.7751 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.8816, allocations: 386.2 kB / 0.7754 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/0.8882, allocations: 4.869 MB / 0.7802 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.8886, allocations: 0.8592 MB / 0.781 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009493/0.8896, allocations: 0.5512 MB / 0.7816 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.8899, allocations: 225.9 kB / 0.7818 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.8899, allocations: 3.766 kB / 0.7818 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05309/0.943, allocations: 23.98 MB / 0.8052 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.2, allocations: 15.39 kB / 0.8052 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.178594229975715] Failed to read output from testmodel.py, exit status != 0: ['time', 'ramp.y', 'boundary.ports[1].m_flow', 'boundary.ports[1].p', 'boundary.ports[1].h_outflow', 'sensor.port_b.m_flow', 'sensor.port_b.p', 'sensor.port_b.h_outflow', 'fitting1.port_b.m_flow', 'fitting1.port_b.p', 'fitting1.port_b.h_outflow', 'fitting2.port_b.m_flow', 'fitting2.port_b.p', 'fitting2.port_b.h_outflow'] 14.382778339961078 14.39499454 13.542742376 Calling exit ...