Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 96.98 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 177.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4096/0.4096, allocations: 43.56 MB / 314.5 MB, free: 8.988 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005794/0.0005796, allocations: 12 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1391, allocations: 58.86 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.2752/0.4143, allocations: 53.08 MB / 495.9 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02161/0.4359, allocations: 19.26 MB / 0.5031 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.4381, allocations: 39.16 kB / 0.5032 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.4406, allocations: 0.5744 MB / 0.5037 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01744/0.4581, allocations: 4.869 MB / 0.5085 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.4684, allocations: 2.732 MB / 0.5111 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02689/0.4953, allocations: 12.66 MB / 0.5235 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.4968, allocations: 0.5656 MB / 0.524 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002511/0.4994, allocations: 0.8876 MB / 0.5249 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.5007, allocations: 0.6108 MB / 0.5255 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.5008, allocations: 44 kB / 0.5256 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01813/0.519, allocations: 7.429 MB / 0.5328 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000472/0.5195, allocations: 219.1 kB / 0.533 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007564/0.5203, allocations: 293 kB / 0.5333 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009012/0.5293, allocations: 3.853 MB / 0.5371 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.5293, allocations: 0 / 0.5371 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5293, allocations: 0 / 0.5371 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.187e-05/0.5294, allocations: 0 / 0.5371 GB, free: 15.87 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.006359/0.5357, allocations: 2.18 MB / 0.5392 GB, free: 13.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5358, allocations: 12.02 kB / 0.5392 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002801/0.5361, allocations: 152.2 kB / 0.5393 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003846/0.5399, allocations: 0.5564 MB / 0.5399 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.5417, allocations: 0.9297 MB / 0.5408 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.5418, allocations: 70 kB / 0.5409 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.542, allocations: 95.95 kB / 0.541 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/0.5454, allocations: 1.607 MB / 0.5425 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.5455, allocations: 7.938 kB / 0.5425 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.5456, allocations: 44 kB / 0.5426 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.5456, allocations: 28 kB / 0.5426 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003089/0.5487, allocations: 1.365 MB / 0.5439 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009899/0.5586, allocations: 8.258 MB / 0.552 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/0.5616, allocations: 1.654 MB / 0.5536 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1268/0.6884, allocations: 63.97 MB / 0.6161 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.6885, allocations: 43 kB / 0.6161 GB, free: 6.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=69): time 2.354e-06/0.6885, allocations: 4 kB / 0.6161 GB, free: 6.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=69): time 0.005663/0.6942, allocations: 1.869 MB / 0.618 GB, free: 4.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.6944, allocations: 192.4 kB / 0.6181 GB, free: 4.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.6958, allocations: 0.9605 MB / 0.6191 GB, free: 3.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-05/0.6959, allocations: 33.7 kB / 0.6191 GB, free: 3.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.6964, allocations: 0.5648 MB / 0.6197 GB, free: 2.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.6966, allocations: 252.5 kB / 0.6199 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.6967, allocations: 20 kB / 0.6199 GB, free: 2.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.697, allocations: 345.9 kB / 0.6203 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.6974, allocations: 258.5 kB / 0.6205 GB, free: 1.809 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/0.6983, allocations: 0.7042 MB / 0.6212 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006661/0.699, allocations: 376.5 kB / 0.6215 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.699, allocations: 4 kB / 0.6216 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001994/0.701, allocations: 1.164 MB / 0.6227 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.701, allocations: 12 kB / 0.6227 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.7011, allocations: 12 kB / 0.6227 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003331/0.7044, allocations: 0.5198 MB / 0.6232 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.7055, allocations: 263.6 kB / 0.6235 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.7069, allocations: 1.37 MB / 0.6248 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.7081, allocations: 150.8 kB / 0.625 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.7082, allocations: 71.92 kB / 0.625 GB, free: 12.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 20 (rightAdapter.state_b.phase,rightAdapter.state_a.phase,rightAdapter.state_a_nondes.phase,rightAdapter.state_b_des.phase,leftAdapter.state_b.phase,leftAdapter.state_a.phase,leftAdapter.state_a_nondes.phase,leftAdapter.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005382/0.7088, allocations: 293.9 kB / 0.6253 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.709, allocations: 130.4 kB / 0.6254 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005162/0.7142, allocations: 4.41 MB / 0.6297 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.981e-05/0.7142, allocations: 43.92 kB / 0.6298 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.7142, allocations: 4 kB / 0.6298 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.7143, allocations: 3.984 kB / 0.6298 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005754/0.72, allocations: 4.823 MB / 0.6345 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.7201, allocations: 3.984 kB / 0.6345 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007401/0.7208, allocations: 155.7 kB / 0.6346 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00391/0.7247, allocations: 1.6 MB / 0.6362 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.47e-05/0.7248, allocations: 20 kB / 0.6362 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2402/0.965, allocations: 1.756 MB / 0.6379 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.567e-06/0.9651, allocations: 2.688 kB / 0.6379 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/0.9685, allocations: 1.942 MB / 0.6398 GB, free: 164.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008573/0.9694, allocations: 353.5 kB / 0.6402 GB, free: 164.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.9696, allocations: 18.03 kB / 0.6402 GB, free: 164.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007423/0.9703, allocations: 53.77 kB / 0.6402 GB, free: 164.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.9705, allocations: 52.14 kB / 0.6403 GB, free: 164.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.209e-05/0.9705, allocations: 29.34 kB / 0.6403 GB, free: 164.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001423/0.972, allocations: 0.8239 MB / 0.6411 GB, free: 164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.11e-07/0.972, allocations: 0 / 0.6411 GB, free: 164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00576/0.9777, allocations: 1.271 MB / 0.6424 GB, free: 164 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.009626/0.9874, allocations: 3.719 MB / 0.646 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002877/0.9903, allocations: 1.155 MB / 0.6471 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.9904, allocations: 0 / 0.6471 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.992, allocations: 0.8586 MB / 0.648 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003625/0.9957, allocations: 0.6881 MB / 0.6486 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.009, allocations: 17.67 MB / 0.6659 GB, free: 149 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/1.01, allocations: 1.344 MB / 0.6672 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001415/1.012, allocations: 0.6161 MB / 0.6678 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005961/1.012, allocations: 0.6358 MB / 0.6684 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.252e-06/1.012, allocations: 2.844 kB / 0.6684 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1274/1.14, allocations: 70.11 MB / 0.7369 GB, free: 99.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/1.14, allocations: 276.3 kB / 0.7372 GB, free: 99.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.346/6.486, allocations: 3.938 kB / 0.7372 GB, free: 99.23 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat does not exist to compare? outputFormat=mat