Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001431/0.001431, allocations: 109 kB / 20.48 MB, free: 1.477 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.001464/0.001464, allocations: 205.6 kB / 23.78 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2363/0.2363, allocations: 44.25 MB / 331.1 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002233/0.002233, allocations: 74.55 kB / 468.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1252, allocations: 61.04 MB / 0.5169 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.4559/0.5811, allocations: 191 MB / 0.7034 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009892/0.591, allocations: 6.13 MB / 0.7094 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006286/0.5916, allocations: 19.81 kB / 0.7095 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.5927, allocations: 337.7 kB / 0.7098 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005372/0.598, allocations: 1.984 MB / 0.7117 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.6005, allocations: 0.7303 MB / 0.7124 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002985/0.6035, allocations: 1.551 MB / 0.7139 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000831/0.6043, allocations: 352.1 kB / 0.7143 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.6057, allocations: 0.5956 MB / 0.7149 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.6067, allocations: 474.1 kB / 0.7153 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.6069, allocations: 52 kB / 0.7154 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005845/0.6127, allocations: 2.609 MB / 0.7179 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004587/0.6132, allocations: 159.4 kB / 0.7181 GB, free: 5.543 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009197/0.6141, allocations: 346.5 kB / 0.7184 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005094/0.6192, allocations: 2.101 MB / 0.7204 GB, free: 3.098 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6192, allocations: 0 / 0.7204 GB, free: 3.098 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6192, allocations: 0 / 0.7204 GB, free: 3.098 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.006e-05/0.6193, allocations: 4 kB / 0.7204 GB, free: 3.094 MB / 0.545 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.002746/0.622, allocations: 1.068 MB / 0.7215 GB, free: 1.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.622, allocations: 8.031 kB / 0.7215 GB, free: 1.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.949e-05/0.6221, allocations: 13 kB / 0.7215 GB, free: 1.969 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.6222, allocations: 82.52 kB / 0.7216 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.6233, allocations: 147.5 kB / 0.7217 GB, free: 1.734 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009888/0.6243, allocations: 429.7 kB / 0.7221 GB, free: 1.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.6244, allocations: 32.94 kB / 0.7222 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.6244, allocations: 43.94 kB / 0.7222 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.6256, allocations: 0.5906 MB / 0.7228 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.6257, allocations: 0 / 0.7228 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.6257, allocations: 16 kB / 0.7228 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.6257, allocations: 12 kB / 0.7228 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.6267, allocations: 475.6 kB / 0.7233 GB, free: 92 kB / 0.545 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.003553/0.6303, allocations: 2.646 MB / 0.7259 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.6311, allocations: 319.5 kB / 0.7262 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.6314, allocations: 157.3 kB / 0.7263 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009906/0.6324, allocations: 414.5 kB / 0.7267 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.6324, allocations: 38.78 kB / 0.7267 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.6324, allocations: 0 / 0.7267 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001839/0.6343, allocations: 0.6478 MB / 0.7274 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.6344, allocations: 136.5 kB / 0.7275 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006425/0.635, allocations: 474.1 kB / 0.728 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.6351, allocations: 29.7 kB / 0.728 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.6353, allocations: 292.2 kB / 0.7283 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.6354, allocations: 115 kB / 0.7284 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.6356, allocations: 110 kB / 0.7285 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.6358, allocations: 362.8 kB / 0.7288 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.6361, allocations: 152.7 kB / 0.729 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.6365, allocations: 280.2 kB / 0.7292 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007817/0.6373, allocations: 436.7 kB / 0.7297 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.6373, allocations: 0 / 0.7297 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001164/0.6385, allocations: 0.5367 MB / 0.7302 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.6385, allocations: 9.094 kB / 0.7302 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.6385, allocations: 0 / 0.7302 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.6401, allocations: 244.5 kB / 0.7304 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.6405, allocations: 103.8 kB / 0.7305 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005523/0.6411, allocations: 0.5992 MB / 0.7311 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.6414, allocations: 43.67 kB / 0.7311 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/0.6415, allocations: 47.98 kB / 0.7312 GB, free: 7.531 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.0003233/0.6418, allocations: 177.7 kB / 0.7314 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.642, allocations: 55.67 kB / 0.7314 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.6436, allocations: 0.7253 MB / 0.7321 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.6436, allocations: 4 kB / 0.7321 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6436, allocations: 0 / 0.7321 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.6436, allocations: 11.92 kB / 0.7321 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.6454, allocations: 0.9871 MB / 0.7331 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.6454, allocations: 7.938 kB / 0.7331 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.6456, allocations: 51.91 kB / 0.7332 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003243/0.6488, allocations: 440.4 kB / 0.7336 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.6489, allocations: 12 kB / 0.7336 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005596/0.6494, allocations: 0.607 MB / 0.7342 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6494, allocations: 0 / 0.7342 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.6505, allocations: 0.5157 MB / 0.7347 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.6507, allocations: 59.53 kB / 0.7347 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.6508, allocations: 15.95 kB / 0.7348 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.6512, allocations: 15.98 kB / 0.7348 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.6513, allocations: 31.91 kB / 0.7348 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.6513, allocations: 19.92 kB / 0.7348 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006373/0.652, allocations: 406.8 kB / 0.7352 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.652, allocations: 4 kB / 0.7352 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001251/0.6532, allocations: 367 kB / 0.7356 GB, free: 2.887 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.002567/0.6558, allocations: 1.45 MB / 0.737 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009451/0.6567, allocations: 365 kB / 0.7373 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6567, allocations: 4 kB / 0.7373 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.6571, allocations: 151.8 kB / 0.7375 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.659, allocations: 386.1 kB / 0.7378 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007813/0.6668, allocations: 4.883 MB / 0.7426 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.6673, allocations: 0.8558 MB / 0.7434 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007443/0.6681, allocations: 205 kB / 0.7436 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.6685, allocations: 215.4 kB / 0.7438 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.6685, allocations: 4 kB / 0.7439 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06017/0.7286, allocations: 24.79 MB / 0.7681 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/14.88, allocations: 8.047 kB / 0.7681 GB, free: 1.332 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.38352345401654] 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.241623361012898 15.253907153 14.63185868 Calling exit ...