Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.001233/0.001233, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001357/0.001357, allocations: 210.9 kB / 24.51 MB, free: 3.941 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.371/1.371, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.22/0.22, allocations: 46.94 MB / 361.6 MB, free: 3.961 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.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 83.8 kB / 0.4969 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.294, allocations: 66.08 MB / 0.5615 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.1936/0.4876, allocations: 161.6 MB / 0.7192 GB, free: 1.766 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006098/0.4937, allocations: 3.397 MB / 0.7226 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006269/0.4943, allocations: 23.81 kB / 0.7226 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009495/0.4953, allocations: 305.9 kB / 0.7229 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.4998, allocations: 1.753 MB / 0.7246 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.5018, allocations: 0.7335 MB / 0.7253 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002089/0.5039, allocations: 1.544 MB / 0.7268 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005763/0.5045, allocations: 355.9 kB / 0.7271 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009014/0.5054, allocations: 0.6033 MB / 0.7277 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006302/0.506, allocations: 482 kB / 0.7282 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.49e-05/0.5061, allocations: 48 kB / 0.7282 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.5084, allocations: 1.19 MB / 0.7294 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.5086, allocations: 163.4 kB / 0.7296 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.509, allocations: 286.9 kB / 0.7298 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.5112, allocations: 1.639 MB / 0.7314 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.5112, allocations: 3.938 kB / 0.7314 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5112, allocations: 0 / 0.7314 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.5112, allocations: 0 / 0.7314 GB, free: 5.234 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.00185/0.5131, allocations: 1.033 MB / 0.7324 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.5131, allocations: 8.031 kB / 0.7325 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.175e-05/0.5131, allocations: 13 kB / 0.7325 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.5132, allocations: 86.47 kB / 0.7325 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009885/0.5142, allocations: 143.5 kB / 0.7327 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007711/0.515, allocations: 417.6 kB / 0.7331 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.515, allocations: 29 kB / 0.7331 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.5151, allocations: 40 kB / 0.7331 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.5164, allocations: 0.8918 MB / 0.734 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.5164, allocations: 4 kB / 0.734 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.5165, allocations: 19.94 kB / 0.734 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.5165, allocations: 12 kB / 0.7341 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009516/0.5175, allocations: 479.6 kB / 0.7345 GB, free: 1.902 MB / 0.5606 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.223/0.7405, allocations: 1.95 MB / 0.7364 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.7415, allocations: 321.6 kB / 0.7367 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/0.7419, allocations: 157.5 kB / 0.7369 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.7422, allocations: 50.72 kB / 0.7369 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.7423, allocations: 43.25 kB / 0.737 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.805e-06/0.7423, allocations: 0 / 0.737 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001978/0.7442, allocations: 0.6348 MB / 0.7376 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.7443, allocations: 133.5 kB / 0.7377 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/0.7449, allocations: 478.5 kB / 0.7382 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.745, allocations: 32.33 kB / 0.7382 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.7451, allocations: 275.4 kB / 0.7385 GB, free: 175 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/0.7452, allocations: 128.7 kB / 0.7386 GB, free: 175 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.7454, allocations: 102.1 kB / 0.7387 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.7454, allocations: 358.4 kB / 0.739 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.7457, allocations: 147.3 kB / 0.7392 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.7461, allocations: 357.6 kB / 0.7395 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.7467, allocations: 441.4 kB / 0.7399 GB, free: 174 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7467, allocations: 3.969 kB / 0.7399 GB, free: 174 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009416/0.7477, allocations: 0.5404 MB / 0.7405 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.7477, allocations: 7.312 kB / 0.7405 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.7477, allocations: 3.75 kB / 0.7405 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.7492, allocations: 245.2 kB / 0.7407 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.7496, allocations: 100.7 kB / 0.7408 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003929/0.75, allocations: 0.5905 MB / 0.7414 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.7504, allocations: 53.08 kB / 0.7414 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.854e-05/0.7505, allocations: 48.31 kB / 0.7415 GB, free: 173.2 MB / 0.5606 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.0003208/0.7508, allocations: 182.8 kB / 0.7416 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.7509, allocations: 60.25 kB / 0.7417 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.7526, allocations: 1.073 MB / 0.7427 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7526, allocations: 4 kB / 0.7428 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7526, allocations: 3.25 kB / 0.7428 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.7526, allocations: 8.656 kB / 0.7428 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.7537, allocations: 0.9149 MB / 0.7437 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7537, allocations: 4 kB / 0.7437 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.7539, allocations: 58.62 kB / 0.7437 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/0.7569, allocations: 431.5 kB / 0.7441 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.7569, allocations: 12 kB / 0.7441 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000317/0.7572, allocations: 0.6118 MB / 0.7447 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7572, allocations: 1.094 kB / 0.7447 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.7579, allocations: 0.4987 MB / 0.7452 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.758, allocations: 59.53 kB / 0.7453 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-05/0.7581, allocations: 21.06 kB / 0.7453 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.7584, allocations: 23.92 kB / 0.7453 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.7585, allocations: 27.39 kB / 0.7454 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.7585, allocations: 15.47 kB / 0.7454 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003853/0.7589, allocations: 402.8 kB / 0.7457 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7589, allocations: 0 / 0.7457 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000871/0.7598, allocations: 344.7 kB / 0.7461 GB, free: 169.2 MB / 0.5606 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.001489/0.7612, allocations: 1.378 MB / 0.7474 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007034/0.762, allocations: 360.3 kB / 0.7478 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.762, allocations: 0 / 0.7478 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.7622, allocations: 155.8 kB / 0.7479 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.7637, allocations: 362.5 kB / 0.7483 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004667/0.7683, allocations: 4.82 MB / 0.753 GB, free: 162 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.7685, allocations: 255.3 kB / 0.7532 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007963/0.7693, allocations: 0.5614 MB / 0.7538 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/0.7696, allocations: 223.3 kB / 0.754 GB, free: 161 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.7696, allocations: 4 kB / 0.754 GB, free: 161 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04163/0.8112, allocations: 24.56 MB / 0.778 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.28, allocations: 4.062 kB / 0.778 GB, free: 136.7 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.309683323954232] 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.480000974959694 14.491280741 13.977609838 Calling exit ...