Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001193, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009303/0.0009304, allocations: 103.5 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2992/0.2992, allocations: 45.14 MB / 383.7 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.082e-05, allocations: 0 / 453.3 MB, free: 75.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.14, allocations: 63.24 MB / 0.5044 GB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.388/2.528, allocations: 0.7592 GB / 1.264 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/2.529, allocations: 83.95 kB / 1.264 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.487/7.016, allocations: 1.137 GB / 2.4 GB, free: 69.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/7.016, allocations: 0 / 2.4 GB, free: 69.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001092/7.016, allocations: 39.62 kB / 2.4 GB, free: 69.5 MB / 0.5573 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.0155/7.031, allocations: 2.464 MB / 2.403 GB, free: 69.05 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/7.031, allocations: 12.09 kB / 2.403 GB, free: 69.05 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/7.036, allocations: 470.5 kB / 2.403 GB, free: 68.97 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/7.039, allocations: 1.204 MB / 2.404 GB, free: 68.71 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/7.04, allocations: 42.34 kB / 2.404 GB, free: 68.71 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007424/7.04, allocations: 69.11 kB / 2.404 GB, free: 68.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007269/7.048, allocations: 3.437 MB / 2.408 GB, free: 68.7 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006093/7.054, allocations: 2.394 MB / 2.41 GB, free: 68.5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/7.054, allocations: 1.125 kB / 2.41 GB, free: 68.5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/7.054, allocations: 2.938 kB / 2.41 GB, free: 68.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002946/7.054, allocations: 141.6 kB / 2.41 GB, free: 68.5 MB / 0.5573 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.01921/7.074, allocations: 8.535 MB / 2.419 GB, free: 66.16 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/7.078, allocations: 1.671 MB / 2.42 GB, free: 66.13 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/7.079, allocations: 0.8941 MB / 2.421 GB, free: 66.12 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/7.08, allocations: 0.7528 MB / 2.422 GB, free: 65.46 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/7.08, allocations: 53.83 kB / 2.422 GB, free: 65.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002944/7.083, allocations: 0.7595 MB / 2.423 GB, free: 65.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=74): time 4.919e-06/7.083, allocations: 3.25 kB / 2.423 GB, free: 65.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=74): time 0.004671/7.088, allocations: 2.458 MB / 2.425 GB, free: 65.29 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/7.088, allocations: 141.2 kB / 2.425 GB, free: 65.13 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/7.089, allocations: 0.7849 MB / 2.426 GB, free: 65.01 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/7.089, allocations: 25.7 kB / 2.426 GB, free: 64.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/7.089, allocations: 0.668 MB / 2.427 GB, free: 64.72 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/7.089, allocations: 259.4 kB / 2.427 GB, free: 64.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/7.09, allocations: 0 / 2.427 GB, free: 64.59 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/7.09, allocations: 343.5 kB / 2.427 GB, free: 64.29 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/7.091, allocations: 0.9304 MB / 2.428 GB, free: 64.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/7.092, allocations: 1.106 MB / 2.429 GB, free: 64.11 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004705/7.097, allocations: 1.718 MB / 2.431 GB, free: 64.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/7.097, allocations: 0 / 2.431 GB, free: 64.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.007152/7.104, allocations: 3.408 MB / 2.434 GB, free: 63.97 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002983/7.104, allocations: 1.574 MB / 2.436 GB, free: 62.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/7.104, allocations: 3.75 kB / 2.436 GB, free: 62.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01834/7.123, allocations: 3.878 MB / 2.44 GB, free: 62.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/7.124, allocations: 204.8 kB / 2.44 GB, free: 62.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003811/7.128, allocations: 2.687 MB / 2.442 GB, free: 61.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/7.13, allocations: 83.08 kB / 2.442 GB, free: 61.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/7.13, allocations: 88.19 kB / 2.443 GB, free: 61.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/7.13, allocations: 3.969 kB / 2.443 GB, free: 61.77 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006608/7.137, allocations: 2.783 MB / 2.445 GB, free: 61.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/7.137, allocations: 3.969 kB / 2.445 GB, free: 61.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006645/7.138, allocations: 154.7 kB / 2.445 GB, free: 61.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/7.139, allocations: 286.3 kB / 2.446 GB, free: 61.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/7.142, allocations: 2.099 MB / 2.448 GB, free: 60.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/7.143, allocations: 76.86 kB / 2.448 GB, free: 60.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/7.144, allocations: 84.23 kB / 2.448 GB, free: 60.48 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0005029/7.144, allocations: 119.1 kB / 2.448 GB, free: 60.38 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004772/7.149, allocations: 2.429 MB / 2.45 GB, free: 60.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003855/7.149, allocations: 103.4 kB / 2.45 GB, free: 60.22 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006541/7.156, allocations: 3.821 MB / 2.454 GB, free: 60.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/7.156, allocations: 7.906 kB / 2.454 GB, free: 60.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/7.156, allocations: 0 / 2.454 GB, free: 60.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/7.156, allocations: 3.797 kB / 2.454 GB, free: 60.12 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005846/7.162, allocations: 3.59 MB / 2.458 GB, free: 59.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/7.162, allocations: 0 / 2.458 GB, free: 59.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006975/7.163, allocations: 94.56 kB / 2.458 GB, free: 59.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01008/7.173, allocations: 2.751 MB / 2.46 GB, free: 59.76 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/7.173, allocations: 14.41 kB / 2.46 GB, free: 59.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/7.176, allocations: 2.264 MB / 2.463 GB, free: 59.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/7.176, allocations: 2.969 kB / 2.463 GB, free: 59.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003982/7.18, allocations: 2.189 MB / 2.465 GB, free: 58.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004668/7.18, allocations: 194.5 kB / 2.465 GB, free: 58.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/7.18, allocations: 3.953 kB / 2.465 GB, free: 58.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/7.182, allocations: 92.67 kB / 2.465 GB, free: 58.83 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/7.182, allocations: 47.58 kB / 2.465 GB, free: 58.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/7.182, allocations: 65.44 kB / 2.465 GB, free: 58.82 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007777/7.183, allocations: 0.5995 MB / 2.466 GB, free: 58.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.81e-07/7.183, allocations: 0 / 2.466 GB, free: 58.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005735/7.189, allocations: 1.793 MB / 2.468 GB, free: 58.48 MB / 0.5573 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.009379/7.198, allocations: 5.135 MB / 2.473 GB, free: 57.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004601/7.203, allocations: 3.183 MB / 2.476 GB, free: 57.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/7.203, allocations: 3.656 kB / 2.476 GB, free: 57.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/7.204, allocations: 0.7953 MB / 2.476 GB, free: 57.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/7.206, allocations: 482.5 kB / 2.477 GB, free: 57.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006366/7.213, allocations: 2.673 MB / 2.48 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009285/7.214, allocations: 1.335 MB / 2.481 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002876/7.217, allocations: 1.023 MB / 2.482 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007937/7.217, allocations: 0.4958 MB / 2.482 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of SimCode: time 1.513e-06/7.217, allocations: 0 / 2.482 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/7.325, allocations: 69.18 MB / 2.55 GB, free: 38.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/7.325, allocations: 172.8 kB / 2.55 GB, free: 38.53 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.425/11.75, allocations: 0 / 2.55 GB, free: 38.53 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat