Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 198 kB / 14.17 MB, free: 1.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008781/0.0008781, allocations: 91.59 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1891/0.1891, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.981e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 63.24 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.992/7.103, allocations: 3.433 GB / 3.944 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/7.103, allocations: 81.92 kB / 3.944 GB, free: 59.53 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.47/8.574, allocations: 461.6 MB / 4.395 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.412e-06/8.574, allocations: 0 / 4.395 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001013/8.574, allocations: 20 kB / 4.395 GB, free: 2.684 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006227/8.58, allocations: 1.889 MB / 4.397 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/8.58, allocations: 8.031 kB / 4.397 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003855/8.58, allocations: 122.8 kB / 4.397 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000588/8.581, allocations: 114.8 kB / 4.397 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/8.583, allocations: 0.7422 MB / 4.398 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/8.583, allocations: 61.97 kB / 4.398 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/8.583, allocations: 71.98 kB / 4.398 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/8.585, allocations: 1.198 MB / 4.399 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/8.585, allocations: 0 / 4.399 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/8.586, allocations: 31.98 kB / 4.399 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/8.586, allocations: 81.94 kB / 4.399 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/8.588, allocations: 1.308 MB / 4.401 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008391/8.596, allocations: 4.884 MB / 4.405 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/8.598, allocations: 0.7781 MB / 4.406 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/8.598, allocations: 378 kB / 4.406 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006538/8.599, allocations: 0.7757 MB / 4.407 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/8.599, allocations: 43 kB / 4.407 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=53): time 2.485e-06/8.599, allocations: 0 / 4.407 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of matching and sorting (n=53): time 0.001511/8.601, allocations: 0.8111 MB / 4.408 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/8.601, allocations: 111.2 kB / 4.408 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/8.602, allocations: 0.8678 MB / 4.409 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.574e-05/8.602, allocations: 49.58 kB / 4.409 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/8.602, allocations: 463.1 kB / 4.409 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/8.602, allocations: 181.4 kB / 4.41 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/8.603, allocations: 20 kB / 4.41 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001148/8.603, allocations: 334 kB / 4.41 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006762/8.603, allocations: 425.8 kB / 4.41 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/8.604, allocations: 0.5407 MB / 4.411 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007614/8.605, allocations: 0.4901 MB / 4.411 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/8.605, allocations: 0 / 4.411 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001925/8.607, allocations: 1.159 MB / 4.413 GB, free: 8 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.2979/8.905, allocations: 0.9611 MB / 4.413 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/8.905, allocations: 4.094 kB / 4.413 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/8.905, allocations: 7.031 kB / 4.413 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/8.906, allocations: 199 kB / 4.414 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/8.906, allocations: 11.53 kB / 4.414 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/8.907, allocations: 137 kB / 4.414 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/8.907, allocations: 48.72 kB / 4.414 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/8.907, allocations: 4.188 kB / 4.414 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001851/8.909, allocations: 1.013 MB / 4.415 GB, free: 74.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/8.909, allocations: 2.781 kB / 4.415 GB, free: 74.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/8.909, allocations: 6.25 kB / 4.415 GB, free: 74.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/8.91, allocations: 202.1 kB / 4.415 GB, free: 74.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/8.91, allocations: 6.984 kB / 4.415 GB, free: 74.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/8.911, allocations: 113.5 kB / 4.415 GB, free: 74.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.851e-05/8.911, allocations: 47.22 kB / 4.415 GB, free: 74.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002262/8.911, allocations: 150.7 kB / 4.415 GB, free: 74.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/8.911, allocations: 95.88 kB / 4.415 GB, free: 74.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/8.913, allocations: 1.102 MB / 4.417 GB, free: 73.97 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/8.913, allocations: 3.938 kB / 4.417 GB, free: 73.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/8.913, allocations: 0 / 4.417 GB, free: 73.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/8.913, allocations: 3.234 kB / 4.417 GB, free: 73.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/8.916, allocations: 1.777 MB / 4.418 GB, free: 73.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/8.916, allocations: 1.844 kB / 4.418 GB, free: 73.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/8.916, allocations: 113 kB / 4.418 GB, free: 73.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/8.916, allocations: 7.5 kB / 4.418 GB, free: 73.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/8.916, allocations: 21.62 kB / 4.418 GB, free: 73.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/8.916, allocations: 10.17 kB / 4.418 GB, free: 73.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/8.916, allocations: 3.844 kB / 4.418 GB, free: 73.59 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/8.917, allocations: 0.9552 MB / 4.419 GB, free: 73.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/8.917, allocations: 234.5 kB / 4.42 GB, free: 73.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/8.918, allocations: 14.41 kB / 4.42 GB, free: 73.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006857/8.918, allocations: 52.8 kB / 4.42 GB, free: 73.06 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/8.918, allocations: 41.17 kB / 4.42 GB, free: 73.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.835e-05/8.919, allocations: 37.61 kB / 4.42 GB, free: 73.06 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009832/8.92, allocations: 0.7377 MB / 4.42 GB, free: 72.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/8.92, allocations: 0 / 4.42 GB, free: 72.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004564/8.924, allocations: 1.333 MB / 4.422 GB, free: 72.94 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005359/8.929, allocations: 3.83 MB / 4.425 GB, free: 71.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002363/8.932, allocations: 1.442 MB / 4.427 GB, free: 71.39 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/8.932, allocations: 0 / 4.427 GB, free: 71.39 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004647/8.932, allocations: 343 kB / 4.427 GB, free: 71.39 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/8.935, allocations: 498.8 kB / 4.428 GB, free: 71.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/8.939, allocations: 1.866 MB / 4.429 GB, free: 71.03 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/8.939, allocations: 1.074 MB / 4.431 GB, free: 70.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001987/8.941, allocations: 0.7039 MB / 4.431 GB, free: 70.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/8.942, allocations: 335.5 kB / 4.432 GB, free: 70.29 MB / 0.5417 GB Notification: Performance of SimCode: time 5.21e-07/8.942, allocations: 0 / 4.432 GB, free: 70.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0804/9.022, allocations: 59.51 MB / 4.49 GB, free: 68.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/9.022, allocations: 201.7 kB / 4.49 GB, free: 68.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.771/12.79, allocations: 0 / 4.49 GB, free: 68.34 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat