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.001867/0.001867, allocations: 126.1 kB / 17.84 MB, free: 5.258 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.002183/0.002183, allocations: 200.6 kB / 20.79 MB, free: 2.32 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.519/1.519, allocations: 207.6 MB / 231.2 MB, free: 4.078 MB / 174.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.3627/0.3627, allocations: 44.23 MB / 327.3 MB, free: 6.715 MB / 254.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.00219/0.00219, allocations: 67.91 kB / 462.9 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2557, allocations: 60.99 MB / 0.5116 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5093/0.765, allocations: 190.6 MB / 0.6978 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008978/0.7739, allocations: 6.088 MB / 0.7038 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009455/0.7749, allocations: 24.41 kB / 0.7038 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.7759, allocations: 320 kB / 0.7041 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005478/0.7814, allocations: 1.966 MB / 0.706 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.7834, allocations: 0.7158 MB / 0.7067 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001932/0.7854, allocations: 1.519 MB / 0.7082 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005281/0.7859, allocations: 376.4 kB / 0.7086 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008595/0.7867, allocations: 0.5933 MB / 0.7091 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004763/0.7872, allocations: 481.8 kB / 0.7096 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.7873, allocations: 48.94 kB / 0.7096 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.7908, allocations: 2.123 MB / 0.7117 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.791, allocations: 158.2 kB / 0.7119 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.7914, allocations: 340.2 kB / 0.7122 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.7944, allocations: 1.935 MB / 0.7141 GB, free: 256 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7944, allocations: 0.875 kB / 0.7141 GB, free: 256 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7944, allocations: 0 / 0.7141 GB, free: 256 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.7944, allocations: 0 / 0.7141 GB, free: 256 kB / 0.4981 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.002122/0.7965, allocations: 1.142 MB / 0.7152 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.7966, allocations: 17.95 kB / 0.7152 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.096e-05/0.7966, allocations: 15.19 kB / 0.7152 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.465e-05/0.7967, allocations: 84.25 kB / 0.7153 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009892/0.7977, allocations: 143.5 kB / 0.7154 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00075/0.7984, allocations: 487.3 kB / 0.7159 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.7985, allocations: 31.88 kB / 0.7159 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.7985, allocations: 49.67 kB / 0.716 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.7996, allocations: 0.5804 MB / 0.7166 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.7996, allocations: 2.625 kB / 0.7166 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.7996, allocations: 19.69 kB / 0.7166 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.7996, allocations: 11.12 kB / 0.7166 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009194/0.8006, allocations: 472.3 kB / 0.717 GB, free: 15.09 MB / 0.5137 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.003223/0.8038, allocations: 2.667 MB / 0.7196 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007076/0.8045, allocations: 317.9 kB / 0.7199 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.8048, allocations: 157.1 kB / 0.7201 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/0.8062, allocations: 1.299 MB / 0.7214 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.8062, allocations: 44.8 kB / 0.7214 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.414e-06/0.8062, allocations: 0 / 0.7214 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.001766/0.808, allocations: 0.7048 MB / 0.7221 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.8081, allocations: 135.1 kB / 0.7222 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.8086, allocations: 471 kB / 0.7227 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.8086, allocations: 32.3 kB / 0.7227 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.8089, allocations: 283.2 kB / 0.723 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.809, allocations: 122.5 kB / 0.7231 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.8091, allocations: 106.1 kB / 0.7232 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.8093, allocations: 360.2 kB / 0.7235 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.8096, allocations: 142.4 kB / 0.7237 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.81, allocations: 280.9 kB / 0.7239 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007328/0.8108, allocations: 439.8 kB / 0.7244 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8108, allocations: 0 / 0.7244 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00105/0.8118, allocations: 0.529 MB / 0.7249 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.8119, allocations: 11.98 kB / 0.7249 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.8119, allocations: 4.156 kB / 0.7249 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.8135, allocations: 241.5 kB / 0.7251 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.8138, allocations: 104.6 kB / 0.7252 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005571/0.8144, allocations: 0.5882 MB / 0.7258 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.8148, allocations: 54.44 kB / 0.7258 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.042e-05/0.8149, allocations: 47.58 kB / 0.7259 GB, free: 8.602 MB / 0.5137 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.0003757/0.8152, allocations: 180.3 kB / 0.7261 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.8154, allocations: 55.52 kB / 0.7261 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.8169, allocations: 0.7184 MB / 0.7268 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8169, allocations: 3.438 kB / 0.7268 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8169, allocations: 0 / 0.7268 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.8169, allocations: 3.938 kB / 0.7268 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.8185, allocations: 1.004 MB / 0.7278 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.8186, allocations: 6.719 kB / 0.7278 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.8188, allocations: 52.69 kB / 0.7279 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003343/0.8221, allocations: 434.9 kB / 0.7283 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.058e-05/0.8222, allocations: 13.66 kB / 0.7283 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005806/0.8227, allocations: 0.598 MB / 0.7289 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8227, allocations: 3.594 kB / 0.7289 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.8238, allocations: 0.5065 MB / 0.7294 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.824, allocations: 141.7 kB / 0.7295 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/0.8241, allocations: 13.05 kB / 0.7295 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.8244, allocations: 20.27 kB / 0.7295 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.8245, allocations: 22.39 kB / 0.7296 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.8245, allocations: 21.58 kB / 0.7296 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004971/0.825, allocations: 398.9 kB / 0.73 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.825, allocations: 0 / 0.73 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001145/0.8262, allocations: 374.1 kB / 0.7303 GB, free: 5.57 MB / 0.5137 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.002283/0.8285, allocations: 1.478 MB / 0.7318 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008554/0.8293, allocations: 354.5 kB / 0.7321 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.8293, allocations: 0 / 0.7321 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.8297, allocations: 156.9 kB / 0.7323 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.8314, allocations: 364 kB / 0.7326 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007072/0.8384, allocations: 4.828 MB / 0.7373 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.8389, allocations: 0.8557 MB / 0.7381 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007272/0.8397, allocations: 200.9 kB / 0.7383 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.84, allocations: 207.4 kB / 0.7385 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of SimCode: time 6.42e-07/0.84, allocations: 0 / 0.7385 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05607/0.8961, allocations: 24.09 MB / 0.7621 GB, free: 6.555 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.55, allocations: 8.016 kB / 0.7621 GB, free: 6.547 MB / 0.545 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: 17.757696798013058] 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.717230309033766 14.73893414 13.941270211 Calling exit ...