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.001731/0.001731, allocations: 114.3 kB / 18.49 MB, free: 4.535 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.002112/0.002112, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.463/1.463, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2243/0.2243, allocations: 46.91 MB / 357.7 MB, free: 10.17 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.00228/0.00228, allocations: 83.88 kB / 0.4917 GB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1431, allocations: 66.05 MB / 0.5562 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4612/0.6042, allocations: 186.6 MB / 0.7384 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005716/0.6099, allocations: 3.266 MB / 0.7416 GB, free: 3.035 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.6105, allocations: 23.75 kB / 0.7416 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009579/0.6115, allocations: 329.8 kB / 0.7419 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003674/0.6151, allocations: 1.43 MB / 0.7433 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.617, allocations: 0.7265 MB / 0.744 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002135/0.6191, allocations: 1.563 MB / 0.7455 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005965/0.6197, allocations: 379.8 kB / 0.7459 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.6207, allocations: 0.6034 MB / 0.7465 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000713/0.6214, allocations: 482 kB / 0.747 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.735e-05/0.6215, allocations: 52 kB / 0.747 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.624, allocations: 1.217 MB / 0.7482 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.6242, allocations: 163.4 kB / 0.7484 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004305/0.6247, allocations: 350.5 kB / 0.7487 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.6271, allocations: 1.507 MB / 0.7502 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.6272, allocations: 4 kB / 0.7502 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6272, allocations: 0 / 0.7502 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.6272, allocations: 0 / 0.7502 GB, free: 10.22 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.00218/0.6294, allocations: 1.074 MB / 0.7512 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.6294, allocations: 8.031 kB / 0.7512 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.256e-05/0.6294, allocations: 17 kB / 0.7512 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.6296, allocations: 82.52 kB / 0.7513 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.6306, allocations: 139.5 kB / 0.7514 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.6317, allocations: 0.5045 MB / 0.7519 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.6317, allocations: 32.94 kB / 0.752 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.6318, allocations: 44 kB / 0.752 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.633, allocations: 0.5915 MB / 0.7526 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.633, allocations: 0 / 0.7526 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/0.6331, allocations: 16 kB / 0.7526 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.6331, allocations: 12 kB / 0.7526 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.6342, allocations: 487.6 kB / 0.7531 GB, free: 7.098 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.003585/0.6377, allocations: 2.671 MB / 0.7557 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.6386, allocations: 323.5 kB / 0.756 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.6389, allocations: 161.3 kB / 0.7562 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/0.6394, allocations: 437.8 kB / 0.7566 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.6394, allocations: 42.78 kB / 0.7566 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.6395, allocations: 0 / 0.7566 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001911/0.6414, allocations: 0.7346 MB / 0.7573 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.6415, allocations: 136.5 kB / 0.7575 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/0.6421, allocations: 494 kB / 0.7579 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.6421, allocations: 33.7 kB / 0.758 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.6424, allocations: 284.2 kB / 0.7582 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.6425, allocations: 130.9 kB / 0.7584 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.6427, allocations: 102.1 kB / 0.7585 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.6429, allocations: 362.7 kB / 0.7588 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.6433, allocations: 148.8 kB / 0.7589 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.6437, allocations: 281.2 kB / 0.7592 GB, free: 344 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/0.6446, allocations: 441.6 kB / 0.7596 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6446, allocations: 4 kB / 0.7596 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001147/0.6457, allocations: 0.5484 MB / 0.7602 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.6457, allocations: 7.938 kB / 0.7602 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.6457, allocations: 7.938 kB / 0.7602 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/0.6473, allocations: 241 kB / 0.7604 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.6477, allocations: 103.9 kB / 0.7605 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005554/0.6483, allocations: 0.6031 MB / 0.7611 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.6486, allocations: 51.62 kB / 0.7612 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/0.6487, allocations: 43.98 kB / 0.7612 GB, free: 14.22 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.0002858/0.649, allocations: 185.6 kB / 0.7614 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.6491, allocations: 59.73 kB / 0.7614 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.6512, allocations: 1.084 MB / 0.7625 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6512, allocations: 4 kB / 0.7625 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6512, allocations: 0 / 0.7625 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.6513, allocations: 7.922 kB / 0.7625 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.6529, allocations: 1.023 MB / 0.7635 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6529, allocations: 4 kB / 0.7635 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.6532, allocations: 63.83 kB / 0.7636 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003284/0.6565, allocations: 448.4 kB / 0.764 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.6565, allocations: 8 kB / 0.764 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005485/0.6571, allocations: 0.6109 MB / 0.7646 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6571, allocations: 0 / 0.7646 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009514/0.658, allocations: 0.5126 MB / 0.7651 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.6582, allocations: 140.7 kB / 0.7652 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-05/0.6583, allocations: 15.88 kB / 0.7652 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.6586, allocations: 19.98 kB / 0.7653 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.6587, allocations: 31.84 kB / 0.7653 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.6587, allocations: 16 kB / 0.7653 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005814/0.6593, allocations: 422.8 kB / 0.7657 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6593, allocations: 0 / 0.7657 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009114/0.6602, allocations: 287.3 kB / 0.766 GB, free: 9.137 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.002023/0.6622, allocations: 1.326 MB / 0.7673 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009286/0.6632, allocations: 367.5 kB / 0.7676 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6632, allocations: 0 / 0.7676 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.6635, allocations: 161 kB / 0.7678 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.6653, allocations: 360.5 kB / 0.7681 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0074/0.6727, allocations: 4.921 MB / 0.7729 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.6733, allocations: 0.8557 MB / 0.7738 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001068/0.6743, allocations: 0.5645 MB / 0.7743 GB, free: 336 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/0.6747, allocations: 231.3 kB / 0.7745 GB, free: 104 kB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.6747, allocations: 0 / 0.7745 GB, free: 104 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0809/0.7556, allocations: 21.75 MB / 0.7958 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.6, allocations: 4.062 kB / 0.7958 GB, free: 10.58 MB / 0.6075 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: 16.79559498297749] 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'] 13.766973362013232 13.788997173 13.157793001 Calling exit ...