Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.001338/0.001338, allocations: 109 kB / 20.48 MB, free: 1.492 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.001488/0.001488, allocations: 217.6 kB / 23.79 MB, free: 4.707 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.459/1.459, allocations: 207.6 MB / 234.6 MB, free: 9.988 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.2219/0.2219, allocations: 44.24 MB / 331.1 MB, free: 9.512 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.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",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.002322/0.002322, allocations: 71.91 kB / 468.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.122, allocations: 61.04 MB / 0.5169 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4294/0.5513, allocations: 190.9 MB / 0.7034 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.5617, allocations: 6.129 MB / 0.7094 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006881/0.5624, allocations: 23.81 kB / 0.7094 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009991/0.5634, allocations: 321.8 kB / 0.7097 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00535/0.5688, allocations: 1.98 MB / 0.7117 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.5709, allocations: 0.7277 MB / 0.7124 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002614/0.5735, allocations: 1.544 MB / 0.7139 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007652/0.5743, allocations: 363.7 kB / 0.7142 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.5755, allocations: 0.6033 MB / 0.7148 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006884/0.5761, allocations: 474.1 kB / 0.7153 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.888e-05/0.5762, allocations: 48 kB / 0.7153 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.5803, allocations: 2.149 MB / 0.7174 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.5805, allocations: 155.5 kB / 0.7176 GB, free: 6.172 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004383/0.581, allocations: 342.5 kB / 0.7179 GB, free: 5.836 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003173/0.5841, allocations: 1.928 MB / 0.7198 GB, free: 3.902 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5841, allocations: 0 / 0.7198 GB, free: 3.902 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5841, allocations: 0 / 0.7198 GB, free: 3.902 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.5841, allocations: 0 / 0.7198 GB, free: 3.902 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.002112/0.5863, allocations: 1.068 MB / 0.7208 GB, free: 2.797 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5863, allocations: 8.031 kB / 0.7208 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.285e-05/0.5863, allocations: 13 kB / 0.7208 GB, free: 2.777 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.5864, allocations: 86.52 kB / 0.7209 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009673/0.5874, allocations: 135.5 kB / 0.721 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007989/0.5882, allocations: 429.5 kB / 0.7214 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.5882, allocations: 37 kB / 0.7215 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.5883, allocations: 43.94 kB / 0.7215 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.5894, allocations: 0.5867 MB / 0.7221 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.5894, allocations: 7.922 kB / 0.7221 GB, free: 1.391 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.976e-05/0.5894, allocations: 20 kB / 0.7221 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.5895, allocations: 8 kB / 0.7221 GB, free: 1.363 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009615/0.5904, allocations: 471.6 kB / 0.7226 GB, free: 0.9023 MB / 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.003226/0.5936, allocations: 2.648 MB / 0.7252 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007275/0.5944, allocations: 311.5 kB / 0.7255 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.5947, allocations: 157.4 kB / 0.7256 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009527/0.5956, allocations: 406.5 kB / 0.726 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.5957, allocations: 46.78 kB / 0.726 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.5957, allocations: 0 / 0.726 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001735/0.5974, allocations: 0.6361 MB / 0.7267 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.5975, allocations: 132.5 kB / 0.7268 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/0.5981, allocations: 474 kB / 0.7272 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.5982, allocations: 29.7 kB / 0.7273 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.5984, allocations: 280.2 kB / 0.7275 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.5985, allocations: 122.9 kB / 0.7277 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.5987, allocations: 98.08 kB / 0.7278 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.5989, allocations: 358.8 kB / 0.7281 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.5992, allocations: 148.8 kB / 0.7282 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.5996, allocations: 275.7 kB / 0.7285 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.6003, allocations: 440.7 kB / 0.7289 GB, free: 10 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6003, allocations: 0 / 0.7289 GB, free: 10 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001046/0.6014, allocations: 0.5369 MB / 0.7294 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.6014, allocations: 5.094 kB / 0.7294 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.6014, allocations: 4 kB / 0.7295 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.603, allocations: 236.7 kB / 0.7297 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.6033, allocations: 99.89 kB / 0.7298 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004889/0.6038, allocations: 0.5953 MB / 0.7304 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.6041, allocations: 48.3 kB / 0.7304 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.6042, allocations: 43.98 kB / 0.7304 GB, free: 8.402 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.0002491/0.6045, allocations: 181.6 kB / 0.7306 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.6046, allocations: 55.67 kB / 0.7307 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.6061, allocations: 0.7235 MB / 0.7314 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.6061, allocations: 4 kB / 0.7314 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6061, allocations: 1.188 kB / 0.7314 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.6061, allocations: 7.922 kB / 0.7314 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.6076, allocations: 0.9909 MB / 0.7324 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.6076, allocations: 3.938 kB / 0.7324 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.6078, allocations: 51.91 kB / 0.7324 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003141/0.611, allocations: 432.4 kB / 0.7328 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.611, allocations: 15.94 kB / 0.7328 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004683/0.6115, allocations: 0.6031 MB / 0.7334 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6115, allocations: 4.031 kB / 0.7334 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008424/0.6123, allocations: 0.504 MB / 0.7339 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.6124, allocations: 59.53 kB / 0.734 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-05/0.6125, allocations: 15.95 kB / 0.734 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.6129, allocations: 15.98 kB / 0.734 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.6129, allocations: 39.83 kB / 0.734 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.613, allocations: 12 kB / 0.7341 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005306/0.6135, allocations: 402.8 kB / 0.7344 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6135, allocations: 0 / 0.7344 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00102/0.6145, allocations: 378.8 kB / 0.7348 GB, free: 3.773 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.00224/0.6168, allocations: 1.447 MB / 0.7362 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000892/0.6176, allocations: 356.9 kB / 0.7366 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.6177, allocations: 4 kB / 0.7366 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.618, allocations: 171.7 kB / 0.7367 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.6198, allocations: 366.2 kB / 0.7371 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/0.6268, allocations: 4.82 MB / 0.7418 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.6273, allocations: 0.8558 MB / 0.7426 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006941/0.628, allocations: 200.9 kB / 0.7428 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/0.6283, allocations: 207.4 kB / 0.743 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of SimCode: time 8.22e-07/0.6283, allocations: 0 / 0.743 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05352/0.6818, allocations: 24.35 MB / 0.7668 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.05, allocations: 8 kB / 0.7668 GB, free: 2.75 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.369374219037127] 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.237913510994986 15.433921247 14.846355378 Calling exit ...