Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",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.001603/0.001603, allocations: 181.6 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.177/2.177, 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.001108/0.001108, 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.2852/0.2852, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.426e-05/4.44e-05, allocations: 7.984 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.032/2.161, allocations: 0.6029 GB / 1.076 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/2.161, allocations: 89.36 kB / 1.076 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.354/4.516, allocations: 412.2 MB / 1.478 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.635e-06/4.516, allocations: 0 / 1.478 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001662/4.516, allocations: 36.11 kB / 1.478 GB, free: 38.91 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008062/4.524, allocations: 1.894 MB / 1.48 GB, free: 36.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/4.524, allocations: 19.95 kB / 1.48 GB, free: 36.95 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005647/4.525, allocations: 118.7 kB / 1.48 GB, free: 36.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/4.527, allocations: 214.4 kB / 1.481 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/4.53, allocations: 0.8559 MB / 1.481 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/4.531, allocations: 61.94 kB / 1.482 GB, free: 35.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003918/4.531, allocations: 79.88 kB / 1.482 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003266/4.534, allocations: 1.219 MB / 1.483 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/4.534, allocations: 0 / 1.483 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/4.535, allocations: 31.98 kB / 1.483 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/4.535, allocations: 85.88 kB / 1.483 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00341/4.538, allocations: 1.175 MB / 1.484 GB, free: 33 MB / 0.5105 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.01344/4.552, allocations: 4.86 MB / 1.489 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/4.554, allocations: 0.7019 MB / 1.489 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008571/4.555, allocations: 354.4 kB / 1.49 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/4.555, allocations: 330.2 kB / 1.49 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/4.555, allocations: 43.12 kB / 1.49 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 3.467e-06/4.555, allocations: 0 / 1.49 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73): time 0.01222/4.567, allocations: 2.404 MB / 1.493 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/4.567, allocations: 218.4 kB / 1.493 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/4.569, allocations: 0.8171 MB / 1.494 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002831/4.569, allocations: 41.7 kB / 1.494 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000341/4.57, allocations: 474.1 kB / 1.494 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/4.57, allocations: 256.3 kB / 1.494 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/4.57, allocations: 16 kB / 1.494 GB, free: 22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/4.57, allocations: 350.7 kB / 1.495 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/4.571, allocations: 385.9 kB / 1.495 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/4.573, allocations: 0.6223 MB / 1.496 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/4.574, allocations: 473.9 kB / 1.496 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/4.574, allocations: 3.938 kB / 1.496 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0035/4.577, allocations: 1.286 MB / 1.497 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005071/4.578, allocations: 2.187 MB / 1.499 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/4.578, allocations: 8 kB / 1.499 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005687/4.584, allocations: 0.6888 MB / 1.5 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/4.585, allocations: 183.7 kB / 1.5 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/4.588, allocations: 1.263 MB / 1.502 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/4.59, allocations: 79.84 kB / 1.502 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/4.59, allocations: 95.92 kB / 1.502 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/4.59, allocations: 4 kB / 1.502 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00297/4.593, allocations: 1.104 MB / 1.503 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/4.593, allocations: 4 kB / 1.503 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002453/4.595, allocations: 341.3 kB / 1.503 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/4.597, allocations: 195.7 kB / 1.503 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/4.599, allocations: 0.9427 MB / 1.504 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/4.6, allocations: 76 kB / 1.504 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/4.6, allocations: 83.98 kB / 1.504 GB, free: 11.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004161/4.601, allocations: 160.8 kB / 1.505 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/4.601, allocations: 110.7 kB / 1.505 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/4.606, allocations: 1.31 MB / 1.506 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/4.606, allocations: 8 kB / 1.506 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/4.606, allocations: 4 kB / 1.506 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/4.606, allocations: 7.938 kB / 1.506 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005314/4.611, allocations: 2.07 MB / 1.508 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/4.611, allocations: 0 / 1.508 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/4.613, allocations: 180 kB / 1.508 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001539/4.613, allocations: 24.84 kB / 1.508 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/4.613, allocations: 35.98 kB / 1.508 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009622/4.614, allocations: 1.292 MB / 1.509 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/4.614, allocations: 3.938 kB / 1.509 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/4.618, allocations: 1.589 MB / 1.511 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006211/4.618, allocations: 195.7 kB / 1.511 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/4.619, allocations: 16 kB / 1.511 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/4.62, allocations: 59.86 kB / 1.511 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/4.62, allocations: 68.44 kB / 1.511 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/4.621, allocations: 67.97 kB / 1.511 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00131/4.622, allocations: 0.6423 MB / 1.512 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.41e-07/4.622, allocations: 0 / 1.512 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005563/4.628, allocations: 1.276 MB / 1.513 GB, free: 1.871 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4176/5.045, allocations: 4.399 MB / 1.518 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004682/5.05, allocations: 1.509 MB / 1.519 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/5.05, allocations: 2.031 kB / 1.519 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/5.051, allocations: 0.5326 MB / 1.52 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004958/5.056, allocations: 0.5914 MB / 1.52 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007739/5.064, allocations: 2.141 MB / 1.522 GB, free: 63.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008772/5.065, allocations: 1.098 MB / 1.523 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/5.067, allocations: 485.7 kB / 1.524 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/5.067, allocations: 0 / 1.524 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4/9.067, allocations: 39.73 MB / 1.563 GB, free: 60.72 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat does not exist to compare? outputFormat=mat