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) 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 trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_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.001086/0.001086, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001744/0.001744, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 45.91 MB / 344.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.000272, allocations: 8 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 63.47 MB / 481.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4682/0.5811, allocations: 166.9 MB / 0.6334 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005203/0.5863, allocations: 3.138 MB / 0.6364 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.5869, allocations: 19.81 kB / 0.6365 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007948/0.5877, allocations: 246.4 kB / 0.6367 GB, free: 11.98 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003267/0.591, allocations: 1.189 MB / 0.6379 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.5926, allocations: 0.5759 MB / 0.6384 GB, free: 10.22 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002057/0.5946, allocations: 1.758 MB / 0.6401 GB, free: 8.457 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.5952, allocations: 338.8 kB / 0.6405 GB, free: 8.129 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008859/0.5961, allocations: 0.5136 MB / 0.641 GB, free: 7.613 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.5966, allocations: 450.2 kB / 0.6414 GB, free: 7.172 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.544e-05/0.5967, allocations: 28 kB / 0.6414 GB, free: 7.145 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.5988, allocations: 1.022 MB / 0.6424 GB, free: 6.121 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.599, allocations: 135.5 kB / 0.6425 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.5991, allocations: 149.4 kB / 0.6427 GB, free: 5.836 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.6005, allocations: 1.041 MB / 0.6437 GB, free: 4.793 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6005, allocations: 0 / 0.6437 GB, free: 4.793 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.6005, allocations: 0 / 0.6437 GB, free: 4.793 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.6005, allocations: 3.938 kB / 0.6437 GB, free: 4.789 MB / 478.1 MB 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.001492/0.602, allocations: 0.9156 MB / 0.6446 GB, free: 3.824 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6021, allocations: 16.03 kB / 0.6446 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.883e-05/0.6022, allocations: 82.53 kB / 0.6447 GB, free: 3.719 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/0.6031, allocations: 147 kB / 0.6448 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005923/0.6037, allocations: 460.8 kB / 0.6453 GB, free: 3.082 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.6037, allocations: 33.62 kB / 0.6453 GB, free: 3.051 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.6038, allocations: 47.98 kB / 0.6454 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.6048, allocations: 0.5984 MB / 0.6459 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.6048, allocations: 0 / 0.6459 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.6049, allocations: 20 kB / 0.646 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.6049, allocations: 19.95 kB / 0.646 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009124/0.6058, allocations: 487.6 kB / 0.6464 GB, free: 1.852 MB / 478.1 MB 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.00309/0.6089, allocations: 2.667 MB / 0.649 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.6097, allocations: 351.4 kB / 0.6494 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.61, allocations: 174.9 kB / 0.6495 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004189/0.6104, allocations: 441.8 kB / 0.65 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.6105, allocations: 42.8 kB / 0.65 GB, free: 13.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.6105, allocations: 0 / 0.65 GB, free: 13.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001716/0.6122, allocations: 0.746 MB / 0.6507 GB, free: 13.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.6123, allocations: 136.5 kB / 0.6509 GB, free: 12.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.6129, allocations: 490 kB / 0.6513 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.6129, allocations: 29.7 kB / 0.6514 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.6132, allocations: 287.8 kB / 0.6516 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.6133, allocations: 122.2 kB / 0.6518 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.6133, allocations: 8 kB / 0.6518 GB, free: 11.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6135, allocations: 358.8 kB / 0.6521 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.6138, allocations: 152.8 kB / 0.6522 GB, free: 11.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.6142, allocations: 287.7 kB / 0.6525 GB, free: 11.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.6145, allocations: 197 kB / 0.6527 GB, free: 10.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6145, allocations: 0 / 0.6527 GB, free: 10.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001008/0.6156, allocations: 0.5521 MB / 0.6532 GB, free: 10.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6156, allocations: 8 kB / 0.6533 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6156, allocations: 4 kB / 0.6533 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.6171, allocations: 292.9 kB / 0.6535 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.6175, allocations: 111.8 kB / 0.6536 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004748/0.618, allocations: 0.5992 MB / 0.6542 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.6183, allocations: 63.55 kB / 0.6543 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.152e-05/0.6184, allocations: 51.97 kB / 0.6543 GB, free: 9.234 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.6187, allocations: 186.2 kB / 0.6545 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/0.6188, allocations: 55.34 kB / 0.6546 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.6208, allocations: 1.112 MB / 0.6557 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6208, allocations: 4 kB / 0.6557 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6209, allocations: 0 / 0.6557 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6209, allocations: 0 / 0.6557 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.6223, allocations: 1.026 MB / 0.6567 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6223, allocations: 4 kB / 0.6567 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.6226, allocations: 60.06 kB / 0.6567 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00296/0.6255, allocations: 0.5315 MB / 0.6572 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.6256, allocations: 8 kB / 0.6573 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004423/0.626, allocations: 0.6225 MB / 0.6579 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.626, allocations: 4.031 kB / 0.6579 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008505/0.6269, allocations: 0.5131 MB / 0.6584 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.6271, allocations: 160.2 kB / 0.6585 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.911e-05/0.6272, allocations: 8 kB / 0.6585 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.6275, allocations: 39.97 kB / 0.6586 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.6276, allocations: 23.91 kB / 0.6586 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.6276, allocations: 19.98 kB / 0.6586 GB, free: 4.676 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005501/0.6282, allocations: 386.8 kB / 0.659 GB, free: 4.301 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6282, allocations: 0 / 0.659 GB, free: 4.301 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008425/0.629, allocations: 291.7 kB / 0.6593 GB, free: 4.016 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0017/0.6307, allocations: 1.326 MB / 0.6605 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007909/0.6315, allocations: 392.1 kB / 0.6609 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6316, allocations: 0 / 0.6609 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.6319, allocations: 181.1 kB / 0.6611 GB, free: 2.094 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.6333, allocations: 285.1 kB / 0.6614 GB, free: 1.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.6377, allocations: 3.123 MB / 0.6644 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.6381, allocations: 0.8594 MB / 0.6653 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001154/0.6393, allocations: 0.5491 MB / 0.6658 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.6397, allocations: 239.3 kB / 0.666 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.6397, allocations: 0 / 0.666 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.6763, allocations: 19.15 MB / 0.6847 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.6766, allocations: 283.5 kB / 0.685 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.187, allocations: 0 / 0.685 GB, free: 9.711 MB / 0.5137 GB (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/linux/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 --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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat