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.0023/0.002299, allocations: 182 kB / 13.66 MB, free: 1.664 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.144/2.144, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001255/0.001254, allocations: 94.62 kB / 267.5 MB, free: 14.11 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.2901/0.2901, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.244e-05/4.262e-05, allocations: 7.984 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.13, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.419/2.549, allocations: 0.792 GB / 1.265 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/2.55, allocations: 89.73 kB / 1.265 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.308/8.857, allocations: 1.144 GB / 2.409 GB, free: 55.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/8.857, allocations: 0 / 2.409 GB, free: 55.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001874/8.858, allocations: 41.14 kB / 2.409 GB, free: 55.82 MB / 0.5261 GB 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.02118/8.879, allocations: 2.345 MB / 2.412 GB, free: 54.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/8.879, allocations: 16.91 kB / 2.412 GB, free: 54.68 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009553/8.88, allocations: 194.3 kB / 2.412 GB, free: 54.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007641/8.888, allocations: 437.9 kB / 2.412 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004722/8.892, allocations: 1.206 MB / 2.414 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/8.892, allocations: 97.38 kB / 2.414 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007159/8.893, allocations: 109.9 kB / 2.414 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008272/8.901, allocations: 2.878 MB / 2.417 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/8.902, allocations: 0 / 2.417 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004982/8.902, allocations: 57.06 kB / 2.417 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002695/8.902, allocations: 137.6 kB / 2.417 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009956/8.912, allocations: 3.594 MB / 2.42 GB, free: 53.95 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.02592/8.938, allocations: 8.529 MB / 2.429 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006546/8.945, allocations: 1.551 MB / 2.43 GB, free: 51.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/8.947, allocations: 0.7778 MB / 2.431 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001865/8.949, allocations: 0.8007 MB / 2.432 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/8.949, allocations: 48.08 kB / 2.432 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005857/8.955, allocations: 0.8374 MB / 2.432 GB, free: 50.49 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=74): time 1.008e-05/8.955, allocations: 0 / 2.432 GB, free: 50.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.006001/8.961, allocations: 2.099 MB / 2.435 GB, free: 50.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/8.961, allocations: 136.7 kB / 2.435 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003369/8.964, allocations: 1.49 MB / 2.436 GB, free: 50.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005414/8.965, allocations: 41.92 kB / 2.436 GB, free: 50 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/8.966, allocations: 0.5966 MB / 2.437 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004987/8.966, allocations: 267.9 kB / 2.437 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/8.966, allocations: 18 kB / 2.437 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001113/8.966, allocations: 349.4 kB / 2.437 GB, free: 49.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/8.969, allocations: 0.8183 MB / 2.438 GB, free: 49.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/8.971, allocations: 1.021 MB / 2.439 GB, free: 49.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/8.973, allocations: 0.9318 MB / 2.44 GB, free: 49.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/8.973, allocations: 0 / 2.44 GB, free: 49.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00755/8.981, allocations: 2.529 MB / 2.443 GB, free: 48.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004444/8.981, allocations: 1.835 MB / 2.444 GB, free: 46.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/8.981, allocations: 3.812 kB / 2.444 GB, free: 46.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0381/9.019, allocations: 3.603 MB / 2.448 GB, free: 46.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/9.021, allocations: 188.5 kB / 2.448 GB, free: 46.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00555/9.027, allocations: 2.249 MB / 2.45 GB, free: 45.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/9.03, allocations: 81.19 kB / 2.45 GB, free: 45.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005609/9.031, allocations: 86.53 kB / 2.45 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/9.031, allocations: 12.03 kB / 2.45 GB, free: 45.38 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006065/9.037, allocations: 2.031 MB / 2.452 GB, free: 44.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/9.037, allocations: 6.031 kB / 2.452 GB, free: 44.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/9.038, allocations: 151.6 kB / 2.452 GB, free: 44.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/9.041, allocations: 260.7 kB / 2.453 GB, free: 44.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/9.045, allocations: 2.125 MB / 2.455 GB, free: 42.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/9.048, allocations: 83.89 kB / 2.455 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/9.048, allocations: 87.38 kB / 2.455 GB, free: 42.94 MB / 0.5261 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0005775/9.049, allocations: 153.8 kB / 2.455 GB, free: 42.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/9.049, allocations: 160 kB / 2.455 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007126/9.056, allocations: 2.268 MB / 2.458 GB, free: 41.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/9.056, allocations: 8.188 kB / 2.458 GB, free: 41.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/9.056, allocations: 6.031 kB / 2.458 GB, free: 41.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/9.056, allocations: 6.188 kB / 2.458 GB, free: 41.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00786/9.064, allocations: 3.208 MB / 2.461 GB, free: 40.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/9.064, allocations: 0 / 2.461 GB, free: 40.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/9.066, allocations: 82.03 kB / 2.461 GB, free: 40.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02789/9.094, allocations: 2.442 MB / 2.463 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003162/9.094, allocations: 19.38 kB / 2.463 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003735/9.098, allocations: 1.886 MB / 2.465 GB, free: 39.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/9.098, allocations: 1.812 kB / 2.465 GB, free: 39.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00489/9.103, allocations: 1.868 MB / 2.467 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009036/9.104, allocations: 268.7 kB / 2.467 GB, free: 37.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004423/9.104, allocations: 14.03 kB / 2.467 GB, free: 37.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002389/9.106, allocations: 82.16 kB / 2.467 GB, free: 37.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/9.107, allocations: 51.67 kB / 2.467 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/9.107, allocations: 72.91 kB / 2.467 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002466/9.109, allocations: 1.165 MB / 2.468 GB, free: 35.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.052e-06/9.109, allocations: 0 / 2.468 GB, free: 35.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007756/9.117, allocations: 1.884 MB / 2.47 GB, free: 34.06 MB / 0.5261 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 () * 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.01444/9.132, allocations: 4.962 MB / 2.475 GB, free: 30.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007864/9.14, allocations: 2.92 MB / 2.478 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/9.14, allocations: 0.7812 kB / 2.478 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001986/9.142, allocations: 0.7046 MB / 2.479 GB, free: 26.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007925/9.15, allocations: 0.9302 MB / 2.48 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009282/9.159, allocations: 2.906 MB / 2.482 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/9.16, allocations: 1.32 MB / 2.484 GB, free: 22.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/9.161, allocations: 0.5311 MB / 2.484 GB, free: 22.01 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/9.161, allocations: 0 / 2.484 GB, free: 22.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.778/13.94, allocations: 59.04 MB / 2.542 GB, free: 64.09 MB / 0.5417 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