Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001778/0.001778, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002369/0.002369, allocations: 210.2 kB / 24.53 MB, free: 4.07 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.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2246/0.2246, allocations: 46.94 MB / 361.6 MB, free: 4.188 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.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 79.86 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2777, allocations: 66.08 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4662/0.7439, allocations: 186.9 MB / 0.744 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004015/0.7479, allocations: 3.293 MB / 0.7472 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003839/0.7483, allocations: 20.75 kB / 0.7472 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.749, allocations: 333.4 kB / 0.7475 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.7517, allocations: 1.431 MB / 0.7489 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.7531, allocations: 0.7477 MB / 0.7497 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.7544, allocations: 1.582 MB / 0.7512 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.7548, allocations: 364 kB / 0.7516 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005781/0.7554, allocations: 0.6017 MB / 0.7522 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004748/0.7558, allocations: 485.8 kB / 0.7526 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.7559, allocations: 50.22 kB / 0.7527 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.7575, allocations: 1.233 MB / 0.7539 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.7577, allocations: 167.7 kB / 0.754 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.7579, allocations: 352.1 kB / 0.7544 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.7594, allocations: 1.513 MB / 0.7558 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7594, allocations: 3.25 kB / 0.7558 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7594, allocations: 0.9062 kB / 0.7558 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.7594, allocations: 0 / 0.7558 GB, free: 1.559 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.001634/0.761, allocations: 1.003 MB / 0.7568 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.7611, allocations: 10.12 kB / 0.7568 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.665e-05/0.7611, allocations: 13.53 kB / 0.7568 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.358e-05/0.7612, allocations: 80.34 kB / 0.7569 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/0.7621, allocations: 146.6 kB / 0.7571 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006727/0.7627, allocations: 446.8 kB / 0.7575 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.7628, allocations: 27.06 kB / 0.7575 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.7628, allocations: 48.23 kB / 0.7576 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008797/0.7637, allocations: 0.5921 MB / 0.7581 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.7637, allocations: 3.094 kB / 0.7581 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/0.7638, allocations: 22 kB / 0.7582 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.7638, allocations: 8.562 kB / 0.7582 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.7645, allocations: 489.5 kB / 0.7586 GB, free: 16.6 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.002599/0.7671, allocations: 2.64 MB / 0.7612 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/0.7678, allocations: 319.3 kB / 0.7615 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.768, allocations: 163.5 kB / 0.7617 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.7682, allocations: 51.45 kB / 0.7617 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.7683, allocations: 37.88 kB / 0.7618 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.303e-06/0.7683, allocations: 0.8125 kB / 0.7618 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001513/0.7698, allocations: 0.6603 MB / 0.7624 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/0.7699, allocations: 133.9 kB / 0.7625 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.7703, allocations: 0.4902 MB / 0.763 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.7703, allocations: 30.3 kB / 0.763 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.7705, allocations: 287.2 kB / 0.7633 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/0.7706, allocations: 123.9 kB / 0.7634 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.7707, allocations: 100.7 kB / 0.7635 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.7709, allocations: 369.6 kB / 0.7639 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.7711, allocations: 147.6 kB / 0.764 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.7715, allocations: 288.5 kB / 0.7643 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/0.7721, allocations: 438.9 kB / 0.7647 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7721, allocations: 3.219 kB / 0.7647 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008674/0.7729, allocations: 0.5416 MB / 0.7652 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.7729, allocations: 9.172 kB / 0.7653 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.7729, allocations: 9.219 kB / 0.7653 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.7743, allocations: 236.9 kB / 0.7655 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.7746, allocations: 102.5 kB / 0.7656 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004475/0.7751, allocations: 0.6002 MB / 0.7662 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.7754, allocations: 54.27 kB / 0.7662 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.7755, allocations: 47.56 kB / 0.7663 GB, free: 12.93 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.0002168/0.7757, allocations: 180.2 kB / 0.7664 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.7758, allocations: 57.95 kB / 0.7665 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.7774, allocations: 1.099 MB / 0.7676 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7774, allocations: 4.281 kB / 0.7676 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7774, allocations: 0 / 0.7676 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.7774, allocations: 3.047 kB / 0.7676 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.7786, allocations: 1.004 MB / 0.7686 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7786, allocations: 1.062 kB / 0.7686 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.7788, allocations: 53.59 kB / 0.7686 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002868/0.7817, allocations: 444.5 kB / 0.769 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.7817, allocations: 12.81 kB / 0.7691 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004398/0.7822, allocations: 0.6149 MB / 0.7697 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7822, allocations: 1.031 kB / 0.7697 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.7829, allocations: 0.5073 MB / 0.7701 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/0.783, allocations: 68.3 kB / 0.7702 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/0.7831, allocations: 16.72 kB / 0.7702 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.7834, allocations: 19.02 kB / 0.7702 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.7834, allocations: 29.09 kB / 0.7703 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.7834, allocations: 16.58 kB / 0.7703 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003981/0.7838, allocations: 426.2 kB / 0.7707 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7838, allocations: 0 / 0.7707 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007461/0.7846, allocations: 284.8 kB / 0.771 GB, free: 11.36 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.001535/0.7861, allocations: 1.318 MB / 0.7723 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006874/0.7868, allocations: 369.5 kB / 0.7726 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7868, allocations: 0.9375 kB / 0.7726 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.7871, allocations: 163.9 kB / 0.7728 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.7887, allocations: 365.1 kB / 0.7731 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005546/0.7942, allocations: 4.94 MB / 0.7779 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.7946, allocations: 0.8603 MB / 0.7788 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008235/0.7954, allocations: 0.5544 MB / 0.7793 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.7957, allocations: 232.1 kB / 0.7795 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.7957, allocations: 0 / 0.7795 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04193/0.8377, allocations: 21.98 MB / 0.801 GB, free: 116 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.11, allocations: 20.33 kB / 0.801 GB, free: 100 kB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.1524274389958] 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.292343556997366 14.306595059 13.544329262 Calling exit ...