Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001299/0.001299, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001395/0.001395, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.445/1.445, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.23/0.23, allocations: 46.9 MB / 357.8 MB, free: 10.31 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.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.91 kB / 0.4916 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1513, allocations: 65.99 MB / 0.5561 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5064/0.6577, allocations: 186.6 MB / 0.7383 GB, free: 6.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006908/0.6646, allocations: 3.666 MB / 0.7419 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008419/0.6654, allocations: 23.81 kB / 0.7419 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.6666, allocations: 317.8 kB / 0.7422 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005192/0.6718, allocations: 1.743 MB / 0.7439 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.674, allocations: 0.7176 MB / 0.7446 GB, free: 268 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002434/0.6765, allocations: 1.532 MB / 0.7461 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008612/0.6773, allocations: 367.4 kB / 0.7464 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.6786, allocations: 0.6034 MB / 0.747 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008419/0.6795, allocations: 478 kB / 0.7475 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.6796, allocations: 48 kB / 0.7475 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004315/0.6839, allocations: 1.943 MB / 0.7494 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.6843, allocations: 159.4 kB / 0.7496 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006246/0.6849, allocations: 338.5 kB / 0.7499 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003963/0.6889, allocations: 1.831 MB / 0.7517 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6889, allocations: 3.938 kB / 0.7517 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6889, allocations: 0 / 0.7517 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.6889, allocations: 0 / 0.7517 GB, free: 8.965 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.002308/0.6912, allocations: 1.108 MB / 0.7528 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.6912, allocations: 8.031 kB / 0.7528 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.349e-05/0.6913, allocations: 13 kB / 0.7528 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.6914, allocations: 90.45 kB / 0.7529 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.6924, allocations: 139.5 kB / 0.753 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.6933, allocations: 488.8 kB / 0.7535 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.6933, allocations: 36.94 kB / 0.7535 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-05/0.6934, allocations: 44.86 kB / 0.7536 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.6946, allocations: 0.5867 MB / 0.7541 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.6946, allocations: 3.984 kB / 0.7541 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.748e-05/0.6947, allocations: 27.94 kB / 0.7542 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.6947, allocations: 12 kB / 0.7542 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.6957, allocations: 471.6 kB / 0.7546 GB, free: 5.824 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.003487/0.6992, allocations: 2.64 MB / 0.7572 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008243/0.7001, allocations: 331.4 kB / 0.7575 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.7004, allocations: 153.3 kB / 0.7577 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000431/0.7008, allocations: 433.9 kB / 0.7581 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.7009, allocations: 38.84 kB / 0.7581 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.7009, allocations: 0 / 0.7581 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001915/0.7028, allocations: 0.715 MB / 0.7588 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.1e-05/0.7029, allocations: 140.5 kB / 0.759 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/0.7035, allocations: 462 kB / 0.7594 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/0.7036, allocations: 37.7 kB / 0.7594 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.7038, allocations: 280.2 kB / 0.7597 GB, free: 228 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.7039, allocations: 123 kB / 0.7598 GB, free: 104 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.7041, allocations: 106.1 kB / 0.7599 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.7043, allocations: 354.8 kB / 0.7603 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.7046, allocations: 152.4 kB / 0.7604 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.7051, allocations: 287.6 kB / 0.7607 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008287/0.706, allocations: 433.6 kB / 0.7611 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.706, allocations: 4 kB / 0.7611 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001195/0.7072, allocations: 0.5444 MB / 0.7616 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.7072, allocations: 8.438 kB / 0.7616 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.7072, allocations: 4 kB / 0.7616 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.7089, allocations: 236.5 kB / 0.7619 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.7093, allocations: 103.8 kB / 0.762 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005527/0.7098, allocations: 0.5925 MB / 0.7625 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.7102, allocations: 47.61 kB / 0.7626 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.7103, allocations: 47.98 kB / 0.7626 GB, free: 13.06 MB / 0.5762 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.0003053/0.7106, allocations: 187.9 kB / 0.7628 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.7108, allocations: 55.67 kB / 0.7629 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.7129, allocations: 1.075 MB / 0.7639 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.7129, allocations: 4 kB / 0.7639 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7129, allocations: 0 / 0.7639 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.7129, allocations: 7.938 kB / 0.7639 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.7146, allocations: 1.009 MB / 0.7649 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7146, allocations: 4 kB / 0.7649 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.7149, allocations: 56 kB / 0.765 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003362/0.7182, allocations: 436.2 kB / 0.7654 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.7183, allocations: 8 kB / 0.7654 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005914/0.7189, allocations: 0.5992 MB / 0.766 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7189, allocations: 4.031 kB / 0.766 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.7199, allocations: 0.504 MB / 0.7665 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.7201, allocations: 140.7 kB / 0.7666 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.936e-05/0.7202, allocations: 15.89 kB / 0.7666 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.7205, allocations: 15.98 kB / 0.7666 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.7206, allocations: 27.91 kB / 0.7667 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.7206, allocations: 19.98 kB / 0.7667 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005579/0.7212, allocations: 394.8 kB / 0.7671 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7212, allocations: 0 / 0.7671 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001198/0.7224, allocations: 347 kB / 0.7674 GB, free: 8.012 MB / 0.5762 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.002454/0.7248, allocations: 1.38 MB / 0.7687 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.7259, allocations: 347.6 kB / 0.7691 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7259, allocations: 0 / 0.7691 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.7263, allocations: 166.1 kB / 0.7692 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.7282, allocations: 374.8 kB / 0.7696 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007973/0.7362, allocations: 4.808 MB / 0.7743 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.7367, allocations: 0.8596 MB / 0.7751 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001204/0.7379, allocations: 0.5511 MB / 0.7757 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004446/0.7384, allocations: 223.3 kB / 0.7759 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.7384, allocations: 0 / 0.7759 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05183/0.7902, allocations: 23.24 MB / 0.7986 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.32, allocations: 3.188 kB / 0.7986 GB, free: 8.062 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.491435698000714] 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.483740274969023 14.503774948 13.811781395 Calling exit ...