Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001157/0.001157, allocations: 106.5 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.001249/0.001249, allocations: 222.7 kB / 22.92 MB, free: 5.535 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.278/1.278, allocations: 230.2 MB / 256.1 MB, free: 8.754 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.1943/0.1943, allocations: 46.9 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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.002105/0.002105, allocations: 79.86 kB / 0.494 GB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2595, allocations: 65.98 MB / 0.5584 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4329/0.6924, allocations: 186.8 MB / 0.7409 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003843/0.6962, allocations: 3.295 MB / 0.7441 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002954/0.6965, allocations: 16 kB / 0.7441 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.6972, allocations: 328.8 kB / 0.7444 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.6995, allocations: 1.419 MB / 0.7458 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.7008, allocations: 0.7363 MB / 0.7465 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.7019, allocations: 1.56 MB / 0.7481 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.7023, allocations: 366.6 kB / 0.7484 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/0.7028, allocations: 0.5936 MB / 0.749 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.7033, allocations: 481.5 kB / 0.7494 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.67e-05/0.7034, allocations: 53.34 kB / 0.7495 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.705, allocations: 1.22 MB / 0.7507 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.7051, allocations: 164.6 kB / 0.7508 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.7054, allocations: 347.7 kB / 0.7512 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.7067, allocations: 1.509 MB / 0.7526 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7067, allocations: 2.812 kB / 0.7527 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7067, allocations: 0 / 0.7527 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.7068, allocations: 1.031 kB / 0.7527 GB, free: 1.586 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.001505/0.7083, allocations: 1.08 MB / 0.7537 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.7083, allocations: 11.38 kB / 0.7537 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.531e-05/0.7084, allocations: 84.08 kB / 0.7538 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008602/0.7092, allocations: 142.3 kB / 0.7539 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.7098, allocations: 0.5023 MB / 0.7544 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.7099, allocations: 28.16 kB / 0.7545 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.7099, allocations: 40.94 kB / 0.7545 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008235/0.7107, allocations: 0.5944 MB / 0.7551 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.7107, allocations: 0 / 0.7551 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.7108, allocations: 21.22 kB / 0.7551 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.7108, allocations: 11.91 kB / 0.7551 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/0.7116, allocations: 485.3 kB / 0.7556 GB, free: 16.48 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.002427/0.714, allocations: 2.671 MB / 0.7582 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.7146, allocations: 331.7 kB / 0.7585 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.7148, allocations: 158.3 kB / 0.7586 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003655/0.7152, allocations: 437 kB / 0.7591 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.7152, allocations: 38.02 kB / 0.7591 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.7152, allocations: 0.9375 kB / 0.7591 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001489/0.7167, allocations: 0.734 MB / 0.7598 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.7168, allocations: 131.8 kB / 0.7599 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.7172, allocations: 496.5 kB / 0.7604 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.7173, allocations: 33.75 kB / 0.7604 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.7174, allocations: 287.4 kB / 0.7607 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.627e-05/0.7175, allocations: 127.8 kB / 0.7608 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.7176, allocations: 100.3 kB / 0.7609 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.7177, allocations: 363.3 kB / 0.7613 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.718, allocations: 155.7 kB / 0.7614 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.7183, allocations: 281.2 kB / 0.7617 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.7189, allocations: 442.3 kB / 0.7621 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7189, allocations: 4.188 kB / 0.7621 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008294/0.7197, allocations: 0.5471 MB / 0.7627 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.7198, allocations: 5.562 kB / 0.7627 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.7198, allocations: 5.766 kB / 0.7627 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.7211, allocations: 239.1 kB / 0.7629 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.7214, allocations: 109.5 kB / 0.763 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004269/0.7219, allocations: 0.5998 MB / 0.7636 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.7222, allocations: 54.53 kB / 0.7636 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.7222, allocations: 44.2 kB / 0.7637 GB, free: 12.2 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.0002148/0.7224, allocations: 187.4 kB / 0.7639 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.7225, allocations: 57.05 kB / 0.7639 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.7241, allocations: 1.093 MB / 0.765 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.7241, allocations: 3.438 kB / 0.765 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.7241, allocations: 3.984 kB / 0.765 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7241, allocations: 2.172 kB / 0.765 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.7253, allocations: 1.028 MB / 0.766 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.7253, allocations: 4.375 kB / 0.766 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.7255, allocations: 52.78 kB / 0.766 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002811/0.7283, allocations: 442.5 kB / 0.7665 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.7283, allocations: 8.188 kB / 0.7665 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004228/0.7288, allocations: 0.6154 MB / 0.7671 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7288, allocations: 6.469 kB / 0.7671 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000681/0.7294, allocations: 0.5105 MB / 0.7676 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.7296, allocations: 139.7 kB / 0.7677 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.7296, allocations: 13.06 kB / 0.7677 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.7299, allocations: 24.36 kB / 0.7678 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.73, allocations: 18.8 kB / 0.7678 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.73, allocations: 25.39 kB / 0.7678 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003942/0.7304, allocations: 420.5 kB / 0.7682 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7304, allocations: 1.031 kB / 0.7682 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007709/0.7312, allocations: 289.8 kB / 0.7685 GB, free: 10.51 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.001595/0.7328, allocations: 1.339 MB / 0.7698 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006732/0.7335, allocations: 363.5 kB / 0.7701 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.7335, allocations: 2.781 kB / 0.7701 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.7338, allocations: 163.4 kB / 0.7703 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.7352, allocations: 346.7 kB / 0.7706 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005322/0.7406, allocations: 4.932 MB / 0.7754 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.741, allocations: 0.8624 MB / 0.7763 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000777/0.7417, allocations: 0.5574 MB / 0.7768 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.742, allocations: 226.3 kB / 0.777 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.742, allocations: 0 / 0.777 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04471/0.7867, allocations: 21.77 MB / 0.7983 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.05, allocations: 11.92 kB / 0.7983 GB, free: 15.8 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.558472403994529]