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.001549/0.001549, allocations: 177.8 kB / 8.36 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.034/2.034, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001125/0.001125, allocations: 91.56 kB / 262.1 MB, free: 13.89 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.3053/0.3053, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.441e-05, allocations: 0 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4474, allocations: 58.86 MB / 477.2 MB, free: 5.176 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.912/2.36, allocations: 0.6022 GB / 1.068 GB, free: 133.2 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/2.36, allocations: 82.64 kB / 1.068 GB, free: 133.2 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.215/4.576, allocations: 407.8 MB / 1.467 GB, free: 59.18 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.364e-06/4.576, allocations: 0 / 1.467 GB, free: 59.18 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0001339/4.576, allocations: 32.64 kB / 1.467 GB, free: 59.17 MB / 0.4952 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.007762/4.584, allocations: 1.905 MB / 1.468 GB, free: 58.29 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/4.584, allocations: 7.781 kB / 1.468 GB, free: 58.29 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/4.586, allocations: 210.7 kB / 1.469 GB, free: 58.23 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/4.589, allocations: 0.8594 MB / 1.469 GB, free: 57.93 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/4.589, allocations: 34.38 kB / 1.47 GB, free: 57.93 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/4.59, allocations: 43.89 kB / 1.47 GB, free: 57.93 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00267/4.592, allocations: 1.033 MB / 1.471 GB, free: 57.93 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/4.595, allocations: 1.117 MB / 1.472 GB, free: 57.72 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/4.595, allocations: 1.031 kB / 1.472 GB, free: 57.72 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/4.595, allocations: 3.438 kB / 1.472 GB, free: 57.72 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/4.596, allocations: 83.66 kB / 1.472 GB, free: 57.72 MB / 0.4952 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.01547/4.611, allocations: 4.823 MB / 1.476 GB, free: 55.48 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/4.613, allocations: 0.5224 MB / 1.477 GB, free: 55.46 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/4.614, allocations: 304.9 kB / 1.477 GB, free: 55.45 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006359/4.615, allocations: 322.4 kB / 1.478 GB, free: 55.16 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/4.615, allocations: 40 kB / 1.478 GB, free: 55.12 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=56): time 5.551e-06/4.615, allocations: 0 / 1.478 GB, free: 55.12 MB / 0.4952 GB Notification: Performance of matching and sorting (n=61): time 0.02209/4.637, allocations: 2.376 MB / 1.48 GB, free: 54.55 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/4.637, allocations: 223 kB / 1.48 GB, free: 54.3 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/4.64, allocations: 0.6906 MB / 1.481 GB, free: 54.16 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0003325/4.64, allocations: 25.7 kB / 1.481 GB, free: 54.13 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005708/4.641, allocations: 0.5222 MB / 1.481 GB, free: 53.8 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004915/4.641, allocations: 215.7 kB / 1.482 GB, free: 53.67 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/4.641, allocations: 0 / 1.482 GB, free: 53.67 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0001527/4.642, allocations: 358.7 kB / 1.482 GB, free: 53.35 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/4.643, allocations: 387.5 kB / 1.482 GB, free: 53.35 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/4.645, allocations: 0.6012 MB / 1.483 GB, free: 53.09 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/4.664, allocations: 1.893 MB / 1.485 GB, free: 53.08 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/4.664, allocations: 0 / 1.485 GB, free: 53.08 MB / 0.4952 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01844/4.682, allocations: 2.664 MB / 1.487 GB, free: 53 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005638/4.683, allocations: 2.178 MB / 1.489 GB, free: 50.74 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/4.683, allocations: 3.719 kB / 1.489 GB, free: 50.74 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003327/4.686, allocations: 485.9 kB / 1.49 GB, free: 50.72 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/4.688, allocations: 179.1 kB / 1.49 GB, free: 50.72 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/4.691, allocations: 1.436 MB / 1.491 GB, free: 50.18 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/4.693, allocations: 66.92 kB / 1.492 GB, free: 50.18 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/4.693, allocations: 87.86 kB / 1.492 GB, free: 50.18 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/4.693, allocations: 5.5 kB / 1.492 GB, free: 50.18 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01698/4.71, allocations: 2.394 MB / 1.494 GB, free: 50.15 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/4.71, allocations: 3.938 kB / 1.494 GB, free: 50.15 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/4.712, allocations: 305.8 kB / 1.494 GB, free: 50.14 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/4.714, allocations: 198.5 kB / 1.494 GB, free: 50.14 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/4.715, allocations: 0.9724 MB / 1.495 GB, free: 49.61 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/4.717, allocations: 57.98 kB / 1.495 GB, free: 49.61 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/4.717, allocations: 87.56 kB / 1.496 GB, free: 49.61 MB / 0.4952 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.0004664/4.718, allocations: 129.1 kB / 1.496 GB, free: 49.5 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003219/4.721, allocations: 0.8255 MB / 1.496 GB, free: 49.39 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/4.721, allocations: 94.59 kB / 1.497 GB, free: 49.34 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/4.725, allocations: 1.076 MB / 1.498 GB, free: 49.25 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/4.725, allocations: 12.31 kB / 1.498 GB, free: 49.25 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/4.725, allocations: 3.938 kB / 1.498 GB, free: 49.25 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/4.725, allocations: 7.594 kB / 1.498 GB, free: 49.25 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005067/4.73, allocations: 1.831 MB / 1.499 GB, free: 48.94 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/4.731, allocations: 3.125 kB / 1.499 GB, free: 48.94 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/4.732, allocations: 147.8 kB / 1.5 GB, free: 48.94 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/4.732, allocations: 26.16 kB / 1.5 GB, free: 48.93 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.118e-05/4.732, allocations: 25.34 kB / 1.5 GB, free: 48.93 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008401/4.733, allocations: 1.231 MB / 1.501 GB, free: 47.73 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/4.733, allocations: 1.375 kB / 1.501 GB, free: 47.73 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/4.737, allocations: 1.386 MB / 1.502 GB, free: 47.48 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000464/4.737, allocations: 188 kB / 1.502 GB, free: 47.34 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/4.737, allocations: 2.281 kB / 1.502 GB, free: 47.34 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/4.739, allocations: 48.95 kB / 1.502 GB, free: 47.33 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/4.739, allocations: 50.41 kB / 1.502 GB, free: 47.33 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/4.739, allocations: 53.38 kB / 1.502 GB, free: 47.33 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0009558/4.74, allocations: 0.5257 MB / 1.503 GB, free: 47.23 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.01e-07/4.74, allocations: 0 / 1.503 GB, free: 47.23 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.004947/4.745, allocations: 1.201 MB / 1.504 GB, free: 47 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (63): * Single equations (assignments): 62 * 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.01078/4.756, allocations: 4.133 MB / 1.508 GB, free: 45.7 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.004121/4.76, allocations: 1.407 MB / 1.51 GB, free: 45.68 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/4.76, allocations: 3.875 kB / 1.51 GB, free: 45.68 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0009713/4.761, allocations: 472.1 kB / 1.51 GB, free: 45.58 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/4.765, allocations: 464 kB / 1.51 GB, free: 45.56 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007052/4.772, allocations: 2 MB / 1.512 GB, free: 44.89 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/4.773, allocations: 1.098 MB / 1.513 GB, free: 44.18 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/4.774, allocations: 456.8 kB / 1.514 GB, free: 44.18 MB / 0.4952 GB Notification: Performance of SimCode: time 1.453e-06/4.774, allocations: 0 / 1.514 GB, free: 44.18 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.59/8.365, allocations: 38.56 MB / 1.552 GB, free: 24.44 MB / 0.4952 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