Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001501, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001662/0.001662, allocations: 215.8 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.93 MB / 361.6 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 79.88 kB / 0.497 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3085, allocations: 66.08 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5032/0.8118, allocations: 186.8 MB / 0.744 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004456/0.8162, allocations: 3.688 MB / 0.7476 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00042/0.8166, allocations: 24.47 kB / 0.7476 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006825/0.8173, allocations: 328 kB / 0.7479 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.8204, allocations: 1.758 MB / 0.7496 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.8218, allocations: 0.7251 MB / 0.7503 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.8231, allocations: 1.551 MB / 0.7518 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004104/0.8235, allocations: 366.8 kB / 0.7522 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006463/0.8241, allocations: 0.6006 MB / 0.7528 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.8247, allocations: 483.4 kB / 0.7532 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.942e-05/0.8247, allocations: 50.97 kB / 0.7533 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.8274, allocations: 1.96 MB / 0.7552 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.8275, allocations: 158.7 kB / 0.7554 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.8278, allocations: 345.6 kB / 0.7557 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.83, allocations: 1.832 MB / 0.7575 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.83, allocations: 0 / 0.7575 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.83, allocations: 1.031 kB / 0.7575 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.83, allocations: 0 / 0.7575 GB, free: 1.527 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.001873/0.8319, allocations: 1.033 MB / 0.7585 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.8319, allocations: 8.625 kB / 0.7585 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.176e-05/0.8319, allocations: 12.72 kB / 0.7585 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.928e-05/0.832, allocations: 82.09 kB / 0.7586 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009471/0.833, allocations: 149.2 kB / 0.7587 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007738/0.8337, allocations: 417 kB / 0.7591 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.8338, allocations: 32.83 kB / 0.7592 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.8338, allocations: 40.47 kB / 0.7592 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/0.8347, allocations: 0.5856 MB / 0.7598 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.8348, allocations: 6.281 kB / 0.7598 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.704e-05/0.8348, allocations: 18.94 kB / 0.7598 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.8348, allocations: 11.44 kB / 0.7598 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007935/0.8356, allocations: 484.5 kB / 0.7603 GB, free: 16.55 MB / 0.5762 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.002837/0.8384, allocations: 2.619 MB / 0.7628 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/0.8391, allocations: 321.3 kB / 0.7631 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.8394, allocations: 154.5 kB / 0.7633 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.8396, allocations: 50.16 kB / 0.7633 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.8396, allocations: 40.72 kB / 0.7634 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.8396, allocations: 1.094 kB / 0.7634 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001525/0.8412, allocations: 0.6366 MB / 0.764 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.8413, allocations: 134.6 kB / 0.7641 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.8417, allocations: 473.5 kB / 0.7646 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.8417, allocations: 30.73 kB / 0.7646 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.8419, allocations: 285.8 kB / 0.7649 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.592e-05/0.842, allocations: 114.8 kB / 0.765 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.8422, allocations: 108.9 kB / 0.7651 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.8424, allocations: 361.3 kB / 0.7654 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.8427, allocations: 150.4 kB / 0.7656 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.8431, allocations: 284.4 kB / 0.7658 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006847/0.8437, allocations: 435.3 kB / 0.7663 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8437, allocations: 0 / 0.7663 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009929/0.8447, allocations: 0.5445 MB / 0.7668 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.8447, allocations: 4.406 kB / 0.7668 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8448, allocations: 7.688 kB / 0.7668 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/0.8463, allocations: 232.3 kB / 0.767 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.8467, allocations: 102.1 kB / 0.7671 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006148/0.8473, allocations: 0.5966 MB / 0.7677 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.8476, allocations: 47.39 kB / 0.7677 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-05/0.8477, allocations: 50.95 kB / 0.7678 GB, free: 12.88 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.0002575/0.8479, allocations: 175.9 kB / 0.768 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.8481, allocations: 55.83 kB / 0.768 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.8498, allocations: 1.083 MB / 0.7691 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.8498, allocations: 7.156 kB / 0.7691 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8498, allocations: 0.9062 kB / 0.7691 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8498, allocations: 3.047 kB / 0.7691 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.8511, allocations: 0.9854 MB / 0.77 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8511, allocations: 0 / 0.77 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.8513, allocations: 55.59 kB / 0.7701 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002946/0.8543, allocations: 432.8 kB / 0.7705 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.8543, allocations: 13.38 kB / 0.7705 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005488/0.8548, allocations: 0.6054 MB / 0.7711 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8549, allocations: 3.219 kB / 0.7711 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000787/0.8556, allocations: 0.5037 MB / 0.7716 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.8558, allocations: 57.33 kB / 0.7717 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.8559, allocations: 19.83 kB / 0.7717 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.8562, allocations: 19.42 kB / 0.7717 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.8562, allocations: 30.03 kB / 0.7717 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.8563, allocations: 17.38 kB / 0.7717 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000461/0.8567, allocations: 400 kB / 0.7721 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8567, allocations: 4.094 kB / 0.7721 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009901/0.8577, allocations: 339.1 kB / 0.7725 GB, free: 11.29 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.001847/0.8596, allocations: 1.374 MB / 0.7738 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007567/0.8603, allocations: 356 kB / 0.7741 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8603, allocations: 0.75 kB / 0.7741 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.8606, allocations: 158.7 kB / 0.7743 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.8623, allocations: 369.8 kB / 0.7746 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/0.8687, allocations: 4.83 MB / 0.7794 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.8692, allocations: 0.8571 MB / 0.7802 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00104/0.8703, allocations: 0.5529 MB / 0.7807 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.8706, allocations: 229.2 kB / 0.781 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of SimCode: time 1.272e-06/0.8706, allocations: 1.203 kB / 0.781 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05568/0.9263, allocations: 23.48 MB / 0.8039 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.21, allocations: 8.062 kB / 0.8039 GB, free: 13.64 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.187916228955146] 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.391674250015058 14.40411429 13.571515727 Calling exit ...