Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",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.001008/0.001007, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.141/2.141, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 82.64 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3545/0.3545, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.56e-05, allocations: 4 kB / 418.3 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1849, allocations: 58.86 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.588/2.773, allocations: 0.6583 GB / 1.124 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/2.773, allocations: 77.19 kB / 1.124 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.604/5.378, allocations: 0.5395 GB / 1.664 GB, free: 41.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.345e-06/5.378, allocations: 0.9375 kB / 1.664 GB, free: 41.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003457/5.378, allocations: 62.73 kB / 1.664 GB, free: 41.97 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01587/5.394, allocations: 3.034 MB / 1.667 GB, free: 41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.458e-05/5.394, allocations: 9.5 kB / 1.667 GB, free: 41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00463/5.399, allocations: 441.6 kB / 1.667 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008201/5.407, allocations: 1.939 MB / 1.669 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/5.407, allocations: 59.83 kB / 1.669 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007571/5.408, allocations: 96.41 kB / 1.669 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005422/5.413, allocations: 2.131 MB / 1.672 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004871/5.418, allocations: 2.365 MB / 1.674 GB, free: 40.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.417e-05/5.418, allocations: 1.969 kB / 1.674 GB, free: 40.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/5.418, allocations: 10.72 kB / 1.674 GB, free: 40.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002489/5.419, allocations: 154.1 kB / 1.674 GB, free: 40.1 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.01794/5.437, allocations: 10.78 MB / 1.685 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/5.439, allocations: 1.728 MB / 1.686 GB, free: 34.03 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/5.441, allocations: 0.9775 MB / 1.687 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/5.442, allocations: 450.5 kB / 1.688 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/5.443, allocations: 1.155 MB / 1.689 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=153): time 4.027e-06/5.444, allocations: 0 / 1.689 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176): time 0.03953/5.483, allocations: 9.531 MB / 1.698 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/5.483, allocations: 356.4 kB / 1.698 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/5.485, allocations: 1.08 MB / 1.699 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005444/5.486, allocations: 29.52 kB / 1.699 GB, free: 32.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008048/5.487, allocations: 0.9029 MB / 1.7 GB, free: 31.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006239/5.487, allocations: 0.5734 MB / 1.701 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/5.487, allocations: 0 / 1.701 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001383/5.488, allocations: 388.8 kB / 1.701 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/5.489, allocations: 0.9771 MB / 1.702 GB, free: 31.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/5.491, allocations: 1.404 MB / 1.704 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/5.501, allocations: 2.335 MB / 1.706 GB, free: 30.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.959e-05/5.501, allocations: 2.062 kB / 1.706 GB, free: 30.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01446/5.516, allocations: 4.006 MB / 1.71 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001312/5.517, allocations: 3.71 MB / 1.713 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/5.517, allocations: 11.03 kB / 1.713 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004334/5.518, allocations: 170.8 kB / 1.714 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/5.52, allocations: 0.5359 MB / 1.714 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/5.521, allocations: 2.34 MB / 1.716 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/5.525, allocations: 174.7 kB / 1.717 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005623/5.525, allocations: 189.5 kB / 1.717 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/5.525, allocations: 5.844 kB / 1.717 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01239/5.538, allocations: 3.514 MB / 1.72 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/5.538, allocations: 10.69 kB / 1.72 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/5.538, allocations: 177.2 kB / 1.72 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/5.54, allocations: 0.5274 MB / 1.721 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/5.542, allocations: 2.343 MB / 1.723 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/5.545, allocations: 167.6 kB / 1.723 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005829/5.545, allocations: 184.5 kB / 1.724 GB, free: 22.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001152/5.546, allocations: 228.7 kB / 1.724 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01371/5.56, allocations: 3.387 MB / 1.727 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/5.561, allocations: 193.6 kB / 1.727 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/5.579, allocations: 4.003 MB / 1.731 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/5.579, allocations: 18.38 kB / 1.731 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/5.579, allocations: 0 / 1.731 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01422/5.593, allocations: 3.493 MB / 1.735 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0244/5.618, allocations: 7.033 MB / 1.741 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-05/5.618, allocations: 5.469 kB / 1.741 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002183/5.62, allocations: 413.2 kB / 1.742 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/5.62, allocations: 166.5 kB / 1.742 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005314/5.621, allocations: 69.77 kB / 1.742 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002928/5.624, allocations: 3.037 MB / 1.745 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/5.624, allocations: 8.938 kB / 1.745 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/5.642, allocations: 5.235 MB / 1.75 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002387/5.644, allocations: 0.5057 MB / 1.751 GB, free: 32.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/5.645, allocations: 29.33 kB / 1.751 GB, free: 32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002654/5.648, allocations: 95.94 kB / 1.751 GB, free: 32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004936/5.649, allocations: 161.8 kB / 1.751 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005099/5.649, allocations: 149.3 kB / 1.751 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00223/5.652, allocations: 0.7917 MB / 1.752 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/5.652, allocations: 6.75 kB / 1.752 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01152/5.663, allocations: 1.814 MB / 1.754 GB, free: 31.63 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * 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: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02827/5.691, allocations: 9.804 MB / 1.763 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01086/5.702, allocations: 4.119 MB / 1.767 GB, free: 27.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.653e-05/5.702, allocations: 3.859 kB / 1.767 GB, free: 27.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003649/5.706, allocations: 1.412 MB / 1.769 GB, free: 27.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007036/5.713, allocations: 0.7778 MB / 1.769 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/5.732, allocations: 4.79 MB / 1.774 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002722/5.734, allocations: 1.718 MB / 1.776 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00816/5.743, allocations: 1.402 MB / 1.777 GB, free: 25.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002804/5.745, allocations: 0.9329 MB / 1.778 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of SimCode: time 2.073e-06/5.746, allocations: 0 / 1.778 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6152/6.361, allocations: 80.34 MB / 1.856 GB, free: 61.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/6.361, allocations: 178.5 kB / 1.857 GB, free: 61.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.968/11.33, allocations: 1.094 kB / 1.857 GB, free: 61.26 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat does not exist to compare? outputFormat=mat