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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2428/0.2428, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB 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.002437/0.002437, allocations: 72 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1154, allocations: 62.46 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4415/0.5569, allocations: 186 MB / 0.6506 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006085/0.563, allocations: 3.262 MB / 0.6538 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006913/0.5638, allocations: 15.88 kB / 0.6538 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.5648, allocations: 321.8 kB / 0.6541 GB, free: 5.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004002/0.5688, allocations: 1.394 MB / 0.6555 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.5709, allocations: 0.735 MB / 0.6562 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002534/0.5734, allocations: 1.555 MB / 0.6577 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009019/0.5744, allocations: 423.5 kB / 0.6581 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.5758, allocations: 0.5917 MB / 0.6587 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000688/0.5765, allocations: 458.1 kB / 0.6591 GB, free: 272 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.5766, allocations: 52 kB / 0.6592 GB, free: 220 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.5792, allocations: 1.154 MB / 0.6603 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.5795, allocations: 159.5 kB / 0.6604 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.58, allocations: 350.5 kB / 0.6608 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.5826, allocations: 1.5 MB / 0.6622 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5826, allocations: 0 / 0.6622 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5826, allocations: 0 / 0.6622 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.5826, allocations: 0 / 0.6622 GB, free: 13.05 MB / 0.4981 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.002029/0.5847, allocations: 1.058 MB / 0.6633 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5847, allocations: 12.03 kB / 0.6633 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.5848, allocations: 78.53 kB / 0.6634 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.5859, allocations: 150.6 kB / 0.6635 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007616/0.5867, allocations: 484.4 kB / 0.664 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.5867, allocations: 29 kB / 0.664 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.5868, allocations: 43.94 kB / 0.664 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.588, allocations: 0.5945 MB / 0.6646 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.588, allocations: 0 / 0.6646 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/0.5881, allocations: 20 kB / 0.6646 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.5881, allocations: 12 kB / 0.6647 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.5892, allocations: 483.6 kB / 0.6651 GB, free: 9.984 MB / 0.4981 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.003468/0.5926, allocations: 2.682 MB / 0.6677 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008314/0.5935, allocations: 349.8 kB / 0.6681 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.5939, allocations: 177.3 kB / 0.6682 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005629/0.5944, allocations: 437.8 kB / 0.6687 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.5945, allocations: 38.84 kB / 0.6687 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 6.453e-06/0.5945, allocations: 0 / 0.6687 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001912/0.5964, allocations: 0.7381 MB / 0.6694 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.342e-05/0.5965, allocations: 132.5 kB / 0.6695 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006375/0.5972, allocations: 498 kB / 0.67 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.5972, allocations: 29.7 kB / 0.67 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.5975, allocations: 283.8 kB / 0.6703 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.5976, allocations: 114.3 kB / 0.6704 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.5978, allocations: 110 kB / 0.6705 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.598, allocations: 362.8 kB / 0.6709 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.5983, allocations: 152.8 kB / 0.671 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.5988, allocations: 279.7 kB / 0.6713 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.5996, allocations: 441.6 kB / 0.6717 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5996, allocations: 4 kB / 0.6717 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001129/0.6007, allocations: 0.5442 MB / 0.6722 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.6007, allocations: 11.94 kB / 0.6722 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6008, allocations: 4 kB / 0.6723 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.6024, allocations: 240.9 kB / 0.6725 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.6028, allocations: 107.9 kB / 0.6726 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000545/0.6033, allocations: 0.5914 MB / 0.6732 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.6037, allocations: 55.42 kB / 0.6732 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.509e-05/0.6038, allocations: 44 kB / 0.6733 GB, free: 1.07 MB / 0.4981 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.0002894/0.6041, allocations: 181.7 kB / 0.6734 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.6042, allocations: 55.5 kB / 0.6735 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.6064, allocations: 1.094 MB / 0.6746 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.6064, allocations: 7.984 kB / 0.6746 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6065, allocations: 4 kB / 0.6746 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.6065, allocations: 4 kB / 0.6746 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.6081, allocations: 1.03 MB / 0.6756 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.6082, allocations: 8.031 kB / 0.6756 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.6084, allocations: 47.97 kB / 0.6756 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/0.6118, allocations: 448.1 kB / 0.6761 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.056e-05/0.6119, allocations: 11.98 kB / 0.6761 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005628/0.6125, allocations: 0.607 MB / 0.6767 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6125, allocations: 0 / 0.6767 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.6135, allocations: 0.5239 MB / 0.6772 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.6137, allocations: 136.4 kB / 0.6773 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.6139, allocations: 11.91 kB / 0.6773 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.6142, allocations: 15.98 kB / 0.6773 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.6143, allocations: 27.91 kB / 0.6774 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.6143, allocations: 19.98 kB / 0.6774 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005978/0.6149, allocations: 430.8 kB / 0.6778 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6149, allocations: 0 / 0.6778 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009152/0.6159, allocations: 283.8 kB / 0.6781 GB, free: 11.97 MB / 0.5137 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.002105/0.618, allocations: 1.319 MB / 0.6793 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009897/0.619, allocations: 392.4 kB / 0.6797 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.619, allocations: 4 kB / 0.6797 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.6194, allocations: 168.3 kB / 0.6799 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.6212, allocations: 370.5 kB / 0.6802 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007348/0.6285, allocations: 5.064 MB / 0.6852 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.6291, allocations: 0.8635 MB / 0.686 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001342/0.6305, allocations: 0.5547 MB / 0.6866 GB, free: 3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/0.6309, allocations: 231.3 kB / 0.6868 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.6309, allocations: 4 kB / 0.6868 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2579/0.8888, allocations: 21.48 MB / 0.7078 GB, free: 199.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.16, allocations: 11 kB / 0.7078 GB, free: 199.5 MB / 0.5294 GB (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)