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.001194/0.001194, allocations: 198.2 kB / 8.768 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009335/0.0009336, allocations: 95 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 45.14 MB / 383.7 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.082e-05/2.1e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.136, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.628/8.764, allocations: 3.432 GB / 3.937 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/8.764, allocations: 79.95 kB / 3.937 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.65/10.41, allocations: 456.4 MB / 4.382 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.664e-06/10.41, allocations: 0 / 4.382 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.044e-05/10.41, allocations: 22.56 kB / 4.382 GB, free: 76.66 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.006744/10.42, allocations: 1.879 MB / 4.384 GB, free: 75.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/10.42, allocations: 9.844 kB / 4.384 GB, free: 75.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005387/10.42, allocations: 119.4 kB / 4.384 GB, free: 75.44 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/10.42, allocations: 0.7444 MB / 4.385 GB, free: 75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/10.42, allocations: 24.25 kB / 4.385 GB, free: 75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/10.42, allocations: 41.25 kB / 4.385 GB, free: 75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001668/10.42, allocations: 1.205 MB / 4.386 GB, free: 74.58 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/10.43, allocations: 1.094 MB / 4.387 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/10.43, allocations: 3.938 kB / 4.387 GB, free: 74.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.559e-05/10.43, allocations: 7.719 kB / 4.387 GB, free: 74.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.634e-05/10.43, allocations: 76.31 kB / 4.387 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007014/10.43, allocations: 4.667 MB / 4.392 GB, free: 71.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/10.44, allocations: 0.7652 MB / 4.393 GB, free: 70.65 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/10.44, allocations: 359.3 kB / 4.393 GB, free: 70.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/10.44, allocations: 0.7837 MB / 4.394 GB, free: 69.58 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/10.44, allocations: 42.12 kB / 4.394 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.956e-06/10.44, allocations: 3.375 kB / 4.394 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.002127/10.44, allocations: 0.8539 MB / 4.395 GB, free: 68.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/10.44, allocations: 107.2 kB / 4.395 GB, free: 68.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000637/10.44, allocations: 0.6087 MB / 4.395 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/10.44, allocations: 25.7 kB / 4.395 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/10.44, allocations: 466.3 kB / 4.396 GB, free: 67.65 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/10.44, allocations: 180.7 kB / 4.396 GB, free: 67.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/10.44, allocations: 3.938 kB / 4.396 GB, free: 67.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/10.44, allocations: 386.7 kB / 4.396 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/10.44, allocations: 418.4 kB / 4.397 GB, free: 66.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/10.44, allocations: 0.5247 MB / 4.397 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/10.44, allocations: 0.9557 MB / 4.398 GB, free: 65.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/10.44, allocations: 2.281 kB / 4.398 GB, free: 65.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004136/10.45, allocations: 1.571 MB / 4.4 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/10.45, allocations: 0.9638 MB / 4.401 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/10.45, allocations: 4 kB / 4.401 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/10.45, allocations: 4 kB / 4.401 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008476/10.45, allocations: 203.7 kB / 4.401 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/10.45, allocations: 11.98 kB / 4.401 GB, free: 62.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008957/10.45, allocations: 95.02 kB / 4.401 GB, free: 62.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/10.45, allocations: 47.97 kB / 4.401 GB, free: 62.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.194e-06/10.45, allocations: 0 / 4.401 GB, free: 62.2 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003729/10.45, allocations: 1.396 MB / 4.402 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/10.45, allocations: 7.969 kB / 4.402 GB, free: 60.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/10.45, allocations: 8 kB / 4.402 GB, free: 60.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007882/10.45, allocations: 195.7 kB / 4.403 GB, free: 60.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/10.45, allocations: 11.98 kB / 4.403 GB, free: 60.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/10.46, allocations: 67.41 kB / 4.403 GB, free: 60.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/10.46, allocations: 47.97 kB / 4.403 GB, free: 60.46 MB / 0.5261 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.0002978/10.46, allocations: 120.7 kB / 4.403 GB, free: 60.34 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00202/10.46, allocations: 0.8426 MB / 4.404 GB, free: 59.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/10.46, allocations: 82.95 kB / 4.404 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/10.46, allocations: 1.099 MB / 4.405 GB, free: 58.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/10.46, allocations: 7.984 kB / 4.405 GB, free: 58.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/10.46, allocations: 0 / 4.405 GB, free: 58.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/10.46, allocations: 0 / 4.405 GB, free: 58.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/10.46, allocations: 1.707 MB / 4.407 GB, free: 56.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/10.46, allocations: 3.938 kB / 4.407 GB, free: 56.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/10.46, allocations: 112.1 kB / 4.407 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/10.46, allocations: 6.484 kB / 4.407 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/10.46, allocations: 15.98 kB / 4.407 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/10.46, allocations: 4 kB / 4.407 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/10.46, allocations: 7.938 kB / 4.407 GB, free: 56.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/10.47, allocations: 0.9631 MB / 4.408 GB, free: 55.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/10.47, allocations: 215.9 kB / 4.408 GB, free: 55.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/10.47, allocations: 0 / 4.408 GB, free: 55.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/10.47, allocations: 47.91 kB / 4.408 GB, free: 55.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/10.47, allocations: 44.31 kB / 4.408 GB, free: 54.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/10.47, allocations: 35.97 kB / 4.408 GB, free: 54.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005395/10.47, allocations: 0.5226 MB / 4.408 GB, free: 54.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/10.47, allocations: 0 / 4.408 GB, free: 54.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003918/10.47, allocations: 1.302 MB / 4.41 GB, free: 53.13 MB / 0.5261 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.007764/10.48, allocations: 4.022 MB / 4.414 GB, free: 49.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002431/10.48, allocations: 1.379 MB / 4.415 GB, free: 47.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/10.48, allocations: 4 kB / 4.415 GB, free: 47.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/10.48, allocations: 326 kB / 4.415 GB, free: 47.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/10.48, allocations: 322 kB / 4.416 GB, free: 47.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/10.49, allocations: 1.78 MB / 4.417 GB, free: 45.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/10.49, allocations: 1.07 MB / 4.418 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001616/10.49, allocations: 0.5843 MB / 4.419 GB, free: 43.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/10.49, allocations: 327.3 kB / 4.419 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.543e-06/10.49, allocations: 0 / 4.419 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07317/10.56, allocations: 41.92 MB / 4.46 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/10.56, allocations: 181.7 kB / 4.46 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.492/14.06, allocations: 4 kB / 4.46 GB, free: 1.484 MB / 0.5261 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