Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001638/0.001641, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3024/0.3024, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006338/0.000634, allocations: 8 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1314, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5964/0.7278, allocations: 145.8 MB / 0.6212 GB, free: 8.961 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01903/0.7469, allocations: 9.264 MB / 0.6302 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008515/0.7478, allocations: 15.88 kB / 0.6302 GB, free: 15.67 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.7491, allocations: 262.7 kB / 0.6305 GB, free: 15.41 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007771/0.757, allocations: 1.832 MB / 0.6323 GB, free: 13.57 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.7604, allocations: 0.7875 MB / 0.6331 GB, free: 12.79 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002695/0.7631, allocations: 1.015 MB / 0.634 GB, free: 11.77 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009941/0.7642, allocations: 371.2 kB / 0.6344 GB, free: 11.41 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.7666, allocations: 0.6779 MB / 0.6351 GB, free: 10.72 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.7677, allocations: 378.6 kB / 0.6354 GB, free: 10.35 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.7679, allocations: 28 kB / 0.6354 GB, free: 10.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.7721, allocations: 1.248 MB / 0.6367 GB, free: 9.074 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.7725, allocations: 131.5 kB / 0.6368 GB, free: 8.945 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.7729, allocations: 161.4 kB / 0.6369 GB, free: 8.781 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.776, allocations: 1.15 MB / 0.6381 GB, free: 7.629 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.7761, allocations: 0 / 0.6381 GB, free: 7.629 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.7761, allocations: 4 kB / 0.6381 GB, free: 7.625 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.7761, allocations: 0 / 0.6381 GB, free: 7.625 MB / 442.7 MB 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.002825/0.7789, allocations: 0.9785 MB / 0.639 GB, free: 6.598 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.779, allocations: 12.03 kB / 0.639 GB, free: 6.586 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002348/0.7792, allocations: 86.52 kB / 0.6391 GB, free: 6.492 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.781, allocations: 159 kB / 0.6393 GB, free: 6.336 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.7823, allocations: 468.7 kB / 0.6397 GB, free: 5.836 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.7823, allocations: 41 kB / 0.6398 GB, free: 5.797 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.7825, allocations: 40 kB / 0.6398 GB, free: 5.758 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.7844, allocations: 0.6395 MB / 0.6404 GB, free: 5.074 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.7845, allocations: 3.938 kB / 0.6404 GB, free: 5.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.7846, allocations: 27.94 kB / 0.6405 GB, free: 5.043 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.7846, allocations: 12 kB / 0.6405 GB, free: 5.031 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.7862, allocations: 499.5 kB / 0.6409 GB, free: 4.543 MB / 442.7 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.005165/0.7914, allocations: 2.648 MB / 0.6435 GB, free: 1.707 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.7926, allocations: 326.8 kB / 0.6438 GB, free: 1.379 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005206/0.7931, allocations: 325.2 kB / 0.6442 GB, free: 1.008 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.7932, allocations: 42.56 kB / 0.6442 GB, free: 0.957 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.276e-06/0.7932, allocations: 0 / 0.6442 GB, free: 0.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002688/0.7959, allocations: 0.6943 MB / 0.6449 GB, free: 240 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.7961, allocations: 162.2 kB / 0.645 GB, free: 40 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.7972, allocations: 0.5184 MB / 0.6455 GB, free: 15.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.7973, allocations: 37.7 kB / 0.6456 GB, free: 15.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.7976, allocations: 330.1 kB / 0.6459 GB, free: 15.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.7978, allocations: 122.2 kB / 0.646 GB, free: 15.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.7978, allocations: 8 kB / 0.646 GB, free: 15.01 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.798, allocations: 330.8 kB / 0.6463 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.7985, allocations: 145.1 kB / 0.6465 GB, free: 14.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.7991, allocations: 326.9 kB / 0.6468 GB, free: 14.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006148/0.7998, allocations: 192.9 kB / 0.647 GB, free: 13.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.7998, allocations: 4 kB / 0.647 GB, free: 13.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001637/0.8015, allocations: 0.5289 MB / 0.6475 GB, free: 13.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.8015, allocations: 8 kB / 0.6475 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.8015, allocations: 4 kB / 0.6475 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002911/0.8045, allocations: 289 kB / 0.6478 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008347/0.8054, allocations: 115.8 kB / 0.6479 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007213/0.8061, allocations: 0.596 MB / 0.6485 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008212/0.807, allocations: 71.42 kB / 0.6485 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.8071, allocations: 51.98 kB / 0.6486 GB, free: 12.26 MB / 458.7 MB 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 (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.0004604/0.8076, allocations: 189.7 kB / 0.6488 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.8078, allocations: 59.34 kB / 0.6488 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.8105, allocations: 0.7555 MB / 0.6495 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.8105, allocations: 0 / 0.6495 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.8105, allocations: 11.89 kB / 0.6496 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.8106, allocations: 4 kB / 0.6496 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.813, allocations: 0.9957 MB / 0.6505 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.813, allocations: 8.031 kB / 0.6505 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.8134, allocations: 55.91 kB / 0.6506 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006263/0.8197, allocations: 0.5315 MB / 0.6511 GB, free: 9.535 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.802e-05/0.8199, allocations: 11.98 kB / 0.6511 GB, free: 9.523 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000628/0.8205, allocations: 0.5953 MB / 0.6517 GB, free: 8.902 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8205, allocations: 0 / 0.6517 GB, free: 8.902 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.8218, allocations: 0.5653 MB / 0.6523 GB, free: 8.262 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.8221, allocations: 156.2 kB / 0.6524 GB, free: 8.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.8223, allocations: 16 kB / 0.6524 GB, free: 8.074 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006786/0.823, allocations: 23.98 kB / 0.6524 GB, free: 8.051 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.8231, allocations: 27.92 kB / 0.6525 GB, free: 8.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.174e-05/0.8232, allocations: 15.98 kB / 0.6525 GB, free: 8.008 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008258/0.824, allocations: 418.8 kB / 0.6529 GB, free: 7.602 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8241, allocations: 0 / 0.6529 GB, free: 7.602 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001428/0.8255, allocations: 339.7 kB / 0.6532 GB, free: 7.27 MB / 458.7 MB 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 (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.003432/0.8289, allocations: 1.88 MB / 0.655 GB, free: 5.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.8306, allocations: 373.3 kB / 0.6554 GB, free: 4.957 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/0.8306, allocations: 11.86 kB / 0.6554 GB, free: 4.945 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006171/0.8313, allocations: 155.7 kB / 0.6556 GB, free: 4.793 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/0.8353, allocations: 334.2 kB / 0.6559 GB, free: 4.469 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009509/0.8449, allocations: 6.281 MB / 0.662 GB, free: 14.03 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/0.8456, allocations: 0.8792 MB / 0.6629 GB, free: 13.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000894/0.8465, allocations: 251.3 kB / 0.6631 GB, free: 12.88 MB / 474.7 MB Notification: Performance of SimCode: time 1.323e-06/0.8465, allocations: 0 / 0.6631 GB, free: 12.88 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.135/3.981, allocations: 18.13 MB / 0.6808 GB, free: 10.75 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat