Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001519/0.001519, 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 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.001519/0.001519, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2409/0.2409, allocations: 44.94 MB / 359.6 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.003314/0.003314, allocations: 59.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3207, allocations: 65.48 MB / 0.5577 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.1991/0.5199, allocations: 161.6 MB / 0.7156 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006165/0.526, allocations: 3.388 MB / 0.7189 GB, free: 1.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005544/0.5266, allocations: 23.75 kB / 0.7189 GB, free: 1.879 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009507/0.5275, allocations: 313.9 kB / 0.7192 GB, free: 1.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.5321, allocations: 1.772 MB / 0.7209 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.5339, allocations: 0.7088 MB / 0.7216 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00212/0.536, allocations: 1.555 MB / 0.7231 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006056/0.5366, allocations: 363.8 kB / 0.7235 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.5376, allocations: 0.6034 MB / 0.7241 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007017/0.5383, allocations: 490 kB / 0.7245 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.5384, allocations: 52 kB / 0.7246 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.5411, allocations: 1.252 MB / 0.7258 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.5414, allocations: 163.4 kB / 0.726 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004074/0.5418, allocations: 294.8 kB / 0.7263 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002835/0.5446, allocations: 1.667 MB / 0.7279 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.5446, allocations: 11.88 kB / 0.7279 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5446, allocations: 0 / 0.7279 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.5446, allocations: 0 / 0.7279 GB, free: 8.648 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.00203/0.5467, allocations: 1.033 MB / 0.7289 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5467, allocations: 8.031 kB / 0.7289 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.159e-05/0.5467, allocations: 13 kB / 0.7289 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.5468, allocations: 82.53 kB / 0.729 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.5479, allocations: 139.5 kB / 0.7291 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000792/0.5486, allocations: 429.5 kB / 0.7295 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.5487, allocations: 33 kB / 0.7296 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.5488, allocations: 36 kB / 0.7296 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.5501, allocations: 0.8957 MB / 0.7305 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.5501, allocations: 3.984 kB / 0.7305 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/0.5502, allocations: 24 kB / 0.7305 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.5502, allocations: 8 kB / 0.7305 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.5512, allocations: 483.5 kB / 0.731 GB, free: 5.301 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.002995/0.5542, allocations: 1.966 MB / 0.7329 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/0.555, allocations: 322.5 kB / 0.7332 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.5553, allocations: 157.3 kB / 0.7334 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.5555, allocations: 52.23 kB / 0.7334 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.5556, allocations: 42.78 kB / 0.7335 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.5556, allocations: 0 / 0.7335 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001781/0.5574, allocations: 0.6476 MB / 0.7341 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/0.5575, allocations: 136.5 kB / 0.7342 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/0.5581, allocations: 482 kB / 0.7347 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.5581, allocations: 29.7 kB / 0.7347 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.5583, allocations: 288.2 kB / 0.735 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.5585, allocations: 123 kB / 0.7351 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.5586, allocations: 106.1 kB / 0.7352 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.5588, allocations: 358.8 kB / 0.7355 GB, free: 480 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.5592, allocations: 148.8 kB / 0.7357 GB, free: 332 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2699/0.8291, allocations: 355 kB / 0.736 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.8302, allocations: 436 kB / 0.7364 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.8302, allocations: 5.094 kB / 0.7364 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001305/0.8315, allocations: 0.5497 MB / 0.737 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.8315, allocations: 11.08 kB / 0.737 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8315, allocations: 3.562 kB / 0.737 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.8332, allocations: 241.1 kB / 0.7372 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.8337, allocations: 101.9 kB / 0.7373 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004083/0.8341, allocations: 0.5969 MB / 0.7379 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.8344, allocations: 50.42 kB / 0.7379 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.8345, allocations: 48.97 kB / 0.738 GB, free: 177.8 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.0002758/0.8348, allocations: 178.4 kB / 0.7382 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.8349, allocations: 56.61 kB / 0.7382 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.8369, allocations: 1.088 MB / 0.7393 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.8369, allocations: 3.969 kB / 0.7393 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8369, allocations: 3.969 kB / 0.7393 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.8369, allocations: 5.984 kB / 0.7393 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.838, allocations: 0.921 MB / 0.7402 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.838, allocations: 2.188 kB / 0.7402 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.8382, allocations: 55.33 kB / 0.7402 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00297/0.8412, allocations: 441.6 kB / 0.7407 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.8412, allocations: 14.89 kB / 0.7407 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003077/0.8415, allocations: 0.6055 MB / 0.7413 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8415, allocations: 2.312 kB / 0.7413 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.8421, allocations: 0.5068 MB / 0.7418 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.8422, allocations: 63.75 kB / 0.7418 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/0.8423, allocations: 13.88 kB / 0.7418 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.8426, allocations: 19.75 kB / 0.7419 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.8427, allocations: 37.31 kB / 0.7419 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.8427, allocations: 20.94 kB / 0.7419 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003792/0.8431, allocations: 403.9 kB / 0.7423 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8431, allocations: 0 / 0.7423 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008501/0.844, allocations: 345.8 kB / 0.7426 GB, free: 175.3 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.001523/0.8455, allocations: 1.371 MB / 0.744 GB, free: 174 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007314/0.8462, allocations: 355.8 kB / 0.7443 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8462, allocations: 4 kB / 0.7443 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.8465, allocations: 166.4 kB / 0.7445 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.848, allocations: 373.7 kB / 0.7448 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/0.853, allocations: 4.867 MB / 0.7496 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.8531, allocations: 263.6 kB / 0.7498 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008569/0.854, allocations: 0.5529 MB / 0.7504 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.8543, allocations: 223.3 kB / 0.7506 GB, free: 167 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.8543, allocations: 0 / 0.7506 GB, free: 167 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04131/0.8956, allocations: 25.14 MB / 0.7751 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.41, allocations: 3.984 kB / 0.7751 GB, free: 142.4 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.622604559990577] 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'] 15.607730729971081 15.62402066 15.0757218 Calling exit ...