Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.001417/0.001417, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.00154/0.00154, allocations: 221.4 kB / 22.92 MB, free: 5.531 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.289/1.289, allocations: 230.2 MB / 256.1 MB, free: 8.75 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1968/0.1968, allocations: 46.89 MB / 359.3 MB, free: 4.973 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-beta.om/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.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 79.86 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2557, allocations: 65.97 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.43/0.6857, allocations: 184.9 MB / 0.739 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005415/0.6911, allocations: 4.646 MB / 0.7435 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005892/0.6917, allocations: 17.44 kB / 0.7435 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008382/0.6925, allocations: 342.2 kB / 0.7439 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.6963, allocations: 1.812 MB / 0.7456 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.6983, allocations: 0.9545 MB / 0.7466 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001868/0.7001, allocations: 1.72 MB / 0.7482 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006288/0.7008, allocations: 376.8 kB / 0.7486 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.7023, allocations: 0.8638 MB / 0.7494 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009417/0.7032, allocations: 0.5146 MB / 0.7499 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.7034, allocations: 55.38 kB / 0.75 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.7057, allocations: 1.324 MB / 0.7513 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.7059, allocations: 174.2 kB / 0.7515 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.7063, allocations: 376.3 kB / 0.7518 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.7082, allocations: 1.639 MB / 0.7534 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7082, allocations: 0.875 kB / 0.7534 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7082, allocations: 0 / 0.7534 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.7082, allocations: 1.906 kB / 0.7534 GB, free: 1.543 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001674/0.7099, allocations: 1.134 MB / 0.7545 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.7099, allocations: 10.12 kB / 0.7545 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.415e-05/0.71, allocations: 87.47 kB / 0.7546 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.7111, allocations: 167 kB / 0.7548 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.7118, allocations: 0.5115 MB / 0.7553 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.7118, allocations: 33.69 kB / 0.7553 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.7118, allocations: 48.28 kB / 0.7554 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008499/0.7127, allocations: 0.6413 MB / 0.756 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7127, allocations: 1.125 kB / 0.756 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.7128, allocations: 23.17 kB / 0.756 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.7128, allocations: 10.09 kB / 0.756 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007212/0.7135, allocations: 0.4923 MB / 0.7565 GB, free: 16.39 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.002549/0.716, allocations: 2.65 MB / 0.7591 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.7166, allocations: 305 kB / 0.7594 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.7168, allocations: 140.2 kB / 0.7595 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/0.7172, allocations: 444.9 kB / 0.7599 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.7172, allocations: 37.81 kB / 0.76 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.363e-06/0.7172, allocations: 0 / 0.76 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001353/0.7186, allocations: 0.7103 MB / 0.7607 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.7186, allocations: 161.6 kB / 0.7608 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.7191, allocations: 0.5213 MB / 0.7613 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.7192, allocations: 33.23 kB / 0.7614 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.7193, allocations: 311.9 kB / 0.7617 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.7194, allocations: 132.8 kB / 0.7618 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.7195, allocations: 119.9 kB / 0.7619 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7197, allocations: 366.7 kB / 0.7622 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.7199, allocations: 141.8 kB / 0.7624 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.7202, allocations: 323.6 kB / 0.7627 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000569/0.7208, allocations: 478.4 kB / 0.7632 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7208, allocations: 2.625 kB / 0.7632 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008834/0.7217, allocations: 0.5727 MB / 0.7637 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.7217, allocations: 7.938 kB / 0.7637 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.7217, allocations: 3.938 kB / 0.7637 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.7231, allocations: 244.6 kB / 0.764 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.7235, allocations: 114.5 kB / 0.7641 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004453/0.7239, allocations: 0.5898 MB / 0.7646 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.7243, allocations: 59.3 kB / 0.7647 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.7243, allocations: 52.2 kB / 0.7647 GB, free: 12.05 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0002591/0.7246, allocations: 198.4 kB / 0.7649 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.7247, allocations: 62.97 kB / 0.765 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.7262, allocations: 1.102 MB / 0.7661 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.7262, allocations: 6.625 kB / 0.7661 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.7262, allocations: 3.938 kB / 0.7661 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7262, allocations: 5.859 kB / 0.7661 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.7274, allocations: 1.002 MB / 0.7671 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7274, allocations: 2.281 kB / 0.7671 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.7276, allocations: 56.34 kB / 0.7671 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0029/0.7305, allocations: 437.7 kB / 0.7675 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.7305, allocations: 10 kB / 0.7676 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004227/0.7309, allocations: 0.6068 MB / 0.7681 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7309, allocations: 2.75 kB / 0.7681 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.7316, allocations: 0.5069 MB / 0.7686 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.7317, allocations: 139 kB / 0.7688 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.015e-05/0.7318, allocations: 14.97 kB / 0.7688 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.7321, allocations: 17.23 kB / 0.7688 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.7322, allocations: 30.7 kB / 0.7688 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.7322, allocations: 21.22 kB / 0.7689 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004318/0.7326, allocations: 448.5 kB / 0.7693 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7326, allocations: 1.031 kB / 0.7693 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008109/0.7334, allocations: 294.7 kB / 0.7696 GB, free: 10.31 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.001574/0.735, allocations: 1.337 MB / 0.7709 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006272/0.7356, allocations: 358.3 kB / 0.7712 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7356, allocations: 0.7812 kB / 0.7712 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.7359, allocations: 150.7 kB / 0.7714 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.7376, allocations: 402.1 kB / 0.7717 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005485/0.743, allocations: 5.058 MB / 0.7767 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.7434, allocations: 0.8622 MB / 0.7775 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008874/0.7443, allocations: 0.576 MB / 0.7781 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.7447, allocations: 244.5 kB / 0.7783 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.7447, allocations: 1.031 kB / 0.7783 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04979/0.7945, allocations: 23.26 MB / 0.801 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.05, allocations: 3.859 kB / 0.801 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.591357049008366]