Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001301/0.001301, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001441/0.001441, allocations: 211.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 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 46.97 MB / 361.7 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 64.08 kB / 0.4969 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3319, allocations: 66.03 MB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.1995/0.5314, allocations: 161.6 MB / 0.7192 GB, free: 2.016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00716/0.5385, allocations: 3.388 MB / 0.7225 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008951/0.5394, allocations: 19.81 kB / 0.7225 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.5406, allocations: 321.9 kB / 0.7228 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004836/0.5455, allocations: 1.767 MB / 0.7246 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.5475, allocations: 0.7047 MB / 0.7252 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002177/0.5497, allocations: 1.555 MB / 0.7268 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006651/0.5503, allocations: 375.7 kB / 0.7271 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.5514, allocations: 0.6033 MB / 0.7277 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006476/0.552, allocations: 482.1 kB / 0.7282 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.11e-05/0.5521, allocations: 52 kB / 0.7282 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.5548, allocations: 1.256 MB / 0.7294 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.555, allocations: 159.4 kB / 0.7296 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.5554, allocations: 302.8 kB / 0.7299 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.558, allocations: 1.667 MB / 0.7315 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.558, allocations: 0 / 0.7315 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.558, allocations: 3.938 kB / 0.7315 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.558, allocations: 0 / 0.7315 GB, free: 5.359 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.00207/0.5601, allocations: 1.033 MB / 0.7325 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5601, allocations: 8.031 kB / 0.7325 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.121e-05/0.5602, allocations: 17 kB / 0.7325 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.5603, allocations: 82.52 kB / 0.7326 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5613, allocations: 139.5 kB / 0.7328 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/0.5621, allocations: 429.5 kB / 0.7332 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.5621, allocations: 29 kB / 0.7332 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-05/0.5622, allocations: 44 kB / 0.7332 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.5636, allocations: 0.8918 MB / 0.7341 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5636, allocations: 4 kB / 0.7341 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/0.5637, allocations: 20 kB / 0.7341 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.5637, allocations: 8 kB / 0.7341 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009907/0.5647, allocations: 483.6 kB / 0.7346 GB, free: 2.016 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.2544/0.8191, allocations: 1.961 MB / 0.7365 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.8202, allocations: 324.3 kB / 0.7368 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.8206, allocations: 157.8 kB / 0.737 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/0.8209, allocations: 49.92 kB / 0.737 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.8209, allocations: 42.92 kB / 0.7371 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.424e-06/0.8209, allocations: 0 / 0.7371 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001957/0.8229, allocations: 0.6501 MB / 0.7377 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.8229, allocations: 137.4 kB / 0.7378 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006429/0.8236, allocations: 477.7 kB / 0.7383 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.8236, allocations: 32.45 kB / 0.7383 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.8238, allocations: 289.2 kB / 0.7386 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.932e-05/0.8239, allocations: 118.1 kB / 0.7387 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.824, allocations: 106 kB / 0.7388 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.99e-05/0.8241, allocations: 363.4 kB / 0.7392 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.8244, allocations: 143.2 kB / 0.7393 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.8248, allocations: 367.2 kB / 0.7396 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.8254, allocations: 439.1 kB / 0.7401 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8254, allocations: 3.969 kB / 0.7401 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008689/0.8263, allocations: 0.5424 MB / 0.7406 GB, free: 174 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.8263, allocations: 6.875 kB / 0.7406 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.8263, allocations: 3.5 kB / 0.7406 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.8278, allocations: 244.1 kB / 0.7408 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.8282, allocations: 104.8 kB / 0.7409 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003444/0.8285, allocations: 0.5932 MB / 0.7415 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.8288, allocations: 48.81 kB / 0.7416 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.348e-05/0.8289, allocations: 46.77 kB / 0.7416 GB, free: 173.4 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.0002171/0.8291, allocations: 188 kB / 0.7418 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.8292, allocations: 59.23 kB / 0.7418 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.8308, allocations: 1.091 MB / 0.7429 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.8308, allocations: 4 kB / 0.7429 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.8308, allocations: 0 / 0.7429 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.8308, allocations: 3.797 kB / 0.7429 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.8319, allocations: 0.9273 MB / 0.7438 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8319, allocations: 0 / 0.7438 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.8321, allocations: 50.97 kB / 0.7439 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/0.8352, allocations: 447 kB / 0.7443 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.8352, allocations: 8 kB / 0.7443 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002697/0.8355, allocations: 0.6069 MB / 0.7449 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.8355, allocations: 5.062 kB / 0.7449 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/0.8361, allocations: 0.5091 MB / 0.7454 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.8362, allocations: 63.81 kB / 0.7455 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.491e-05/0.8363, allocations: 14.11 kB / 0.7455 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.8366, allocations: 17.83 kB / 0.7455 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.8366, allocations: 23.95 kB / 0.7455 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.8367, allocations: 19.98 kB / 0.7455 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003608/0.837, allocations: 402.8 kB / 0.7459 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.837, allocations: 0.7188 kB / 0.7459 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008065/0.8378, allocations: 350.3 kB / 0.7462 GB, free: 169.5 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.001514/0.8393, allocations: 1.375 MB / 0.7476 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000708/0.84, allocations: 355.9 kB / 0.7479 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.84, allocations: 0 / 0.7479 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.8403, allocations: 168.1 kB / 0.7481 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.8418, allocations: 373.6 kB / 0.7484 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.8467, allocations: 4.866 MB / 0.7532 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.8468, allocations: 263.6 kB / 0.7534 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008192/0.8476, allocations: 0.5555 MB / 0.754 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.848, allocations: 227.3 kB / 0.7542 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.848, allocations: 3.938 kB / 0.7542 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04312/0.8911, allocations: 25.13 MB / 0.7788 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/15.48, allocations: 4.062 kB / 0.7788 GB, free: 136.5 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.627615535981022] 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.673469900968485 15.69379001 15.131625731 Calling exit ...