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.002172/0.002178, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 88.31 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2958/0.2958, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.173e-05, allocations: 0 / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4272, allocations: 58.85 MB / 477.2 MB, free: 5.176 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.456/2.884, allocations: 0.7914 GB / 1.257 GB, free: 129.8 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/2.884, allocations: 86.67 kB / 1.257 GB, free: 129.8 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 6.251/9.135, allocations: 1.129 GB / 2.387 GB, free: 59.95 MB / 0.5265 GB Notification: Performance of FrontEnd: time 2.064e-06/9.135, allocations: 3.031 kB / 2.387 GB, free: 59.95 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0002776/9.135, allocations: 37.58 kB / 2.387 GB, free: 59.95 MB / 0.5265 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.03014/9.166, allocations: 2.342 MB / 2.389 GB, free: 59.4 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/9.166, allocations: 8.844 kB / 2.389 GB, free: 59.4 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/9.178, allocations: 443.5 kB / 2.389 GB, free: 59.32 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007544/9.185, allocations: 1.201 MB / 2.391 GB, free: 59.06 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/9.185, allocations: 45.44 kB / 2.391 GB, free: 59.06 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/9.187, allocations: 64.62 kB / 2.391 GB, free: 59.06 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01696/9.204, allocations: 3.43 MB / 2.394 GB, free: 59.05 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/9.217, allocations: 2.388 MB / 2.396 GB, free: 58.85 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.842e-05/9.217, allocations: 2.906 kB / 2.396 GB, free: 58.85 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/9.218, allocations: 2.844 kB / 2.396 GB, free: 58.85 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004753/9.219, allocations: 140.9 kB / 2.396 GB, free: 58.85 MB / 0.5265 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.044/9.263, allocations: 8.585 MB / 2.405 GB, free: 56.51 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/9.273, allocations: 1.668 MB / 2.406 GB, free: 56.49 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003086/9.276, allocations: 0.8885 MB / 2.407 GB, free: 56.48 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002622/9.279, allocations: 0.8158 MB / 2.408 GB, free: 55.82 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.362e-05/9.279, allocations: 49.05 kB / 2.408 GB, free: 55.78 MB / 0.5265 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007896/9.287, allocations: 0.7615 MB / 2.409 GB, free: 55.76 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=74): time 2.007e-05/9.287, allocations: 0 / 2.409 GB, free: 55.76 MB / 0.5265 GB Notification: Performance of matching and sorting (n=74): time 0.01092/9.298, allocations: 2.354 MB / 2.411 GB, free: 55.65 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/9.298, allocations: 136.9 kB / 2.411 GB, free: 55.5 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/9.3, allocations: 0.7828 MB / 2.412 GB, free: 55.37 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0006685/9.301, allocations: 29.27 kB / 2.412 GB, free: 55.34 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008002/9.302, allocations: 0.6749 MB / 2.413 GB, free: 55.01 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007734/9.303, allocations: 254.9 kB / 2.413 GB, free: 54.89 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/9.303, allocations: 0 / 2.413 GB, free: 54.89 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001581/9.303, allocations: 356.9 kB / 2.413 GB, free: 54.57 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003341/9.307, allocations: 0.9223 MB / 2.414 GB, free: 54.57 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003849/9.311, allocations: 1.104 MB / 2.415 GB, free: 54.39 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02449/9.335, allocations: 2.42 MB / 2.418 GB, free: 54.38 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-05/9.335, allocations: 0 / 2.418 GB, free: 54.38 MB / 0.5265 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.02344/9.359, allocations: 4.056 MB / 2.422 GB, free: 54.29 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003657/9.359, allocations: 1.572 MB / 2.423 GB, free: 52.65 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/9.359, allocations: 7.219 kB / 2.423 GB, free: 52.65 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03653/9.396, allocations: 3.877 MB / 2.427 GB, free: 52.64 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/9.398, allocations: 201.1 kB / 2.427 GB, free: 52.64 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/9.404, allocations: 2.676 MB / 2.43 GB, free: 52.09 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/9.407, allocations: 86.11 kB / 2.43 GB, free: 52.08 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/9.408, allocations: 82.27 kB / 2.43 GB, free: 52.08 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/9.408, allocations: 3.938 kB / 2.43 GB, free: 52.08 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01952/9.427, allocations: 3.492 MB / 2.433 GB, free: 52.04 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/9.427, allocations: 5.875 kB / 2.433 GB, free: 52.04 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009637/9.428, allocations: 139.7 kB / 2.434 GB, free: 52.03 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/9.431, allocations: 275.3 kB / 2.434 GB, free: 52.03 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/9.435, allocations: 2.057 MB / 2.436 GB, free: 50.83 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/9.438, allocations: 76.2 kB / 2.436 GB, free: 50.82 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/9.438, allocations: 78.36 kB / 2.436 GB, free: 50.82 MB / 0.5265 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.0005765/9.439, allocations: 132.6 kB / 2.436 GB, free: 50.71 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005904/9.444, allocations: 2.317 MB / 2.438 GB, free: 50.61 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/9.445, allocations: 106.1 kB / 2.438 GB, free: 50.56 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007496/9.452, allocations: 2.493 MB / 2.441 GB, free: 50.46 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/9.452, allocations: 5.812 kB / 2.441 GB, free: 50.46 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/9.452, allocations: 0 / 2.441 GB, free: 50.46 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/9.453, allocations: 5.797 kB / 2.441 GB, free: 50.46 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008399/9.461, allocations: 3.495 MB / 2.444 GB, free: 50.12 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/9.461, allocations: 0 / 2.444 GB, free: 50.12 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/9.462, allocations: 91.17 kB / 2.444 GB, free: 50.12 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01862/9.481, allocations: 2.748 MB / 2.447 GB, free: 50.1 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003042/9.481, allocations: 14.19 kB / 2.447 GB, free: 50.1 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/9.486, allocations: 2.247 MB / 2.449 GB, free: 49.55 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/9.486, allocations: 11.25 kB / 2.449 GB, free: 49.55 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005276/9.491, allocations: 2.079 MB / 2.451 GB, free: 49.32 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005688/9.492, allocations: 199.2 kB / 2.451 GB, free: 49.18 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/9.492, allocations: 5.359 kB / 2.451 GB, free: 49.17 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002437/9.495, allocations: 85.52 kB / 2.452 GB, free: 49.17 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/9.495, allocations: 51.31 kB / 2.452 GB, free: 49.17 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/9.495, allocations: 58.42 kB / 2.452 GB, free: 49.17 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.001055/9.496, allocations: 0.5967 MB / 2.452 GB, free: 49.08 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.91e-07/9.496, allocations: 0 / 2.452 GB, free: 49.08 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.007522/9.504, allocations: 1.937 MB / 2.454 GB, free: 48.79 MB / 0.5265 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.01471/9.518, allocations: 5.318 MB / 2.459 GB, free: 47.59 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.007794/9.526, allocations: 3.135 MB / 2.462 GB, free: 47.45 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/9.526, allocations: 0.7812 kB / 2.462 GB, free: 47.45 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/9.528, allocations: 0.7895 MB / 2.463 GB, free: 47.44 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/9.532, allocations: 485.2 kB / 2.464 GB, free: 47.42 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008944/9.541, allocations: 2.845 MB / 2.466 GB, free: 46.58 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/9.543, allocations: 1.325 MB / 2.468 GB, free: 45.87 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/9.544, allocations: 0.5019 MB / 2.468 GB, free: 45.86 MB / 0.5265 GB Notification: Performance of SimCode: time 1.292e-06/9.544, allocations: 0 / 2.468 GB, free: 45.86 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.198/13.74, allocations: 53.21 MB / 2.52 GB, free: 42.96 MB / 0.5265 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