Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",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.001535/0.001539, allocations: 188.1 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.15/2.15, 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.001172/0.001172, allocations: 94.8 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.3102/0.3102, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005054, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1349, allocations: 58.85 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.6181/0.7531, allocations: 156.9 MB / 0.6321 GB, free: 13.61 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.03446/0.7876, allocations: 16.14 MB / 0.6479 GB, free: 13.45 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.7892, allocations: 39.69 kB / 0.6479 GB, free: 13.41 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.7916, allocations: 445.8 kB / 0.6483 GB, free: 12.97 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.8041, allocations: 2.804 MB / 0.6511 GB, free: 10.16 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01287/0.817, allocations: 3.044 MB / 0.654 GB, free: 7.109 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004554/0.8216, allocations: 1.741 MB / 0.6557 GB, free: 5.367 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003895/0.8256, allocations: 1.501 MB / 0.6572 GB, free: 3.855 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005604/0.8312, allocations: 1.633 MB / 0.6588 GB, free: 2.219 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.8429, allocations: 3.287 MB / 0.662 GB, free: 14.93 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000876/0.8438, allocations: 120 kB / 0.6621 GB, free: 14.81 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01785/0.8617, allocations: 4.802 MB / 0.6668 GB, free: 10 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.8637, allocations: 0.8068 MB / 0.6676 GB, free: 9.191 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.8648, allocations: 368.9 kB / 0.6679 GB, free: 8.824 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.8774, allocations: 4.241 MB / 0.6721 GB, free: 4.574 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8774, allocations: 4 kB / 0.6721 GB, free: 4.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.8775, allocations: 0 / 0.6721 GB, free: 4.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001096/0.8776, allocations: 0 / 0.6721 GB, free: 4.57 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01905/0.8966, allocations: 2.288 MB / 0.6743 GB, free: 2.227 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.8967, allocations: 8.031 kB / 0.6743 GB, free: 2.219 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001135/0.8979, allocations: 198.4 kB / 0.6745 GB, free: 2.016 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008113/0.906, allocations: 497.5 kB / 0.675 GB, free: 1.527 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004025/0.9101, allocations: 1.07 MB / 0.676 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.9104, allocations: 86.23 kB / 0.6761 GB, free: 336 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008968/0.9113, allocations: 112 kB / 0.6762 GB, free: 224 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.9215, allocations: 2.842 MB / 0.679 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/0.9216, allocations: 4 kB / 0.679 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006795/0.9223, allocations: 55.97 kB / 0.6791 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004145/0.9228, allocations: 146.4 kB / 0.6792 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.9351, allocations: 3.574 MB / 0.6827 GB, free: 9.527 MB / 490.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.03033/0.9655, allocations: 8.46 MB / 0.6909 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007142/0.9727, allocations: 1.541 MB / 0.6925 GB, free: 15.19 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002459/0.9752, allocations: 1.115 MB / 0.6935 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.624e-05/0.9753, allocations: 47.22 kB / 0.6936 GB, free: 13.83 MB / 0.4949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004121/0.9794, allocations: 0.6229 MB / 0.6942 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=74): time 9.649e-06/0.9795, allocations: 4 kB / 0.6942 GB, free: 13.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=74): time 0.02802/1.008, allocations: 4.252 MB / 0.6984 GB, free: 8.918 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/1.008, allocations: 137.2 kB / 0.6985 GB, free: 8.754 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004097/1.012, allocations: 1.668 MB / 0.7001 GB, free: 7.074 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0004561/1.012, allocations: 41.7 kB / 0.7002 GB, free: 7.027 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007909/1.013, allocations: 0.5991 MB / 0.7007 GB, free: 6.422 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006497/1.014, allocations: 268.2 kB / 0.701 GB, free: 6.156 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/1.014, allocations: 24 kB / 0.701 GB, free: 6.133 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002154/1.014, allocations: 354.7 kB / 0.7014 GB, free: 5.777 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002888/1.017, allocations: 0.8568 MB / 0.7022 GB, free: 4.918 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/1.02, allocations: 1.08 MB / 0.7032 GB, free: 3.754 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/1.024, allocations: 0.9866 MB / 0.7042 GB, free: 2.77 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/1.024, allocations: 0 / 0.7042 GB, free: 2.77 MB / 0.4949 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.008977/1.033, allocations: 2.575 MB / 0.7067 GB, free: 188 kB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.3453/1.378, allocations: 2.093 MB / 0.7088 GB, free: 178.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/1.378, allocations: 6.188 kB / 0.7088 GB, free: 178.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0399/1.418, allocations: 3.645 MB / 0.7123 GB, free: 178.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/1.42, allocations: 191.3 kB / 0.7125 GB, free: 178.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/1.427, allocations: 2.259 MB / 0.7147 GB, free: 178.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/1.43, allocations: 78.77 kB / 0.7148 GB, free: 178.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000604/1.431, allocations: 81.55 kB / 0.7149 GB, free: 178.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.431, allocations: 4.031 kB / 0.7149 GB, free: 178.1 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008012/1.439, allocations: 2.156 MB / 0.717 GB, free: 177.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/1.439, allocations: 5.75 kB / 0.717 GB, free: 177.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/1.44, allocations: 156.5 kB / 0.7171 GB, free: 177.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/1.443, allocations: 269.2 kB / 0.7174 GB, free: 177.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004895/1.448, allocations: 2.221 MB / 0.7196 GB, free: 175.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/1.45, allocations: 78.95 kB / 0.7196 GB, free: 175.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004943/1.451, allocations: 79.59 kB / 0.7197 GB, free: 175.6 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (88): * Single equations (assignments): 87 * 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 {3 34} Notification: Performance of prepare postOptimizeDAE: time 0.00165/1.452, allocations: 0.5008 MB / 0.7202 GB, free: 175.3 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006008/1.453, allocations: 156.8 kB / 0.7204 GB, free: 175.3 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008716/1.462, allocations: 2.344 MB / 0.7226 GB, free: 174.4 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.752e-05/1.462, allocations: 7.625 kB / 0.7227 GB, free: 174.4 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.462, allocations: 3.938 kB / 0.7227 GB, free: 174.4 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/1.462, allocations: 8.828 kB / 0.7227 GB, free: 174.4 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009639/1.471, allocations: 3.288 MB / 0.7259 GB, free: 173 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.472, allocations: 1.062 kB / 0.7259 GB, free: 173 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009507/1.473, allocations: 75.53 kB / 0.7259 GB, free: 173 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02066/1.493, allocations: 2.485 MB / 0.7284 GB, free: 172.2 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002834/1.494, allocations: 21.97 kB / 0.7284 GB, free: 172.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/1.497, allocations: 1.897 MB / 0.7302 GB, free: 170.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/1.498, allocations: 0 / 0.7302 GB, free: 170.9 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/1.503, allocations: 1.943 MB / 0.7321 GB, free: 169.8 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008289/1.504, allocations: 269.7 kB / 0.7324 GB, free: 169.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005642/1.505, allocations: 15.88 kB / 0.7324 GB, free: 169.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/1.507, allocations: 81.23 kB / 0.7325 GB, free: 169.6 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003942/1.508, allocations: 48.27 kB / 0.7325 GB, free: 169.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002669/1.508, allocations: 58.67 kB / 0.7326 GB, free: 169.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002593/1.511, allocations: 1.177 MB / 0.7337 GB, free: 168.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.51e-07/1.511, allocations: 0 / 0.7337 GB, free: 168.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006678/1.517, allocations: 1.653 MB / 0.7354 GB, free: 168.7 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 36 * 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01298/1.53, allocations: 4 MB / 0.7393 GB, free: 165.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.009456/1.54, allocations: 3.056 MB / 0.7423 GB, free: 162.8 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.54, allocations: 0.6562 kB / 0.7423 GB, free: 162.8 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/1.542, allocations: 0.7483 MB / 0.743 GB, free: 162.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007633/1.55, allocations: 0.9327 MB / 0.7439 GB, free: 161.2 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/1.561, allocations: 8.264 MB / 0.752 GB, free: 152.6 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.563, allocations: 1.321 MB / 0.7533 GB, free: 151.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/1.564, allocations: 0.5149 MB / 0.7538 GB, free: 150.7 MB / 0.4949 GB Notification: Performance of SimCode: time 2.194e-06/1.564, allocations: 0 / 0.7538 GB, free: 150.7 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.338/5.902, allocations: 54.11 MB / 0.8066 GB, free: 96.55 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat