Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01001/0.01001, allocations: 176.3 kB / 15.13 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.013/2.013, allocations: 194.5 MB / 210.3 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001768/0.001768, allocations: 108.1 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2896/0.2896, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000531/0.0005313, allocations: 15.75 kB / 406.3 MB, free: 51.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09781, allocations: 54.88 MB / 461.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.6857/0.7835, allocations: 201.5 MB / 0.6472 GB, free: 300 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02164/0.8052, allocations: 10.15 MB / 0.6571 GB, free: 6.133 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.8064, allocations: 27.75 kB / 0.6571 GB, free: 6.105 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.808, allocations: 341.9 kB / 0.6574 GB, free: 5.77 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01382/0.8219, allocations: 2.509 MB / 0.6599 GB, free: 3.258 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02013/0.842, allocations: 3.614 MB / 0.6634 GB, free: 15.65 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005933/0.848, allocations: 3.162 MB / 0.6665 GB, free: 12.48 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.8498, allocations: 0.5944 MB / 0.6671 GB, free: 11.87 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.8527, allocations: 0.8601 MB / 0.6679 GB, free: 11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003226/0.8559, allocations: 1.11 MB / 0.669 GB, free: 9.891 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003351/0.8563, allocations: 52 kB / 0.6691 GB, free: 9.84 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02052/0.8769, allocations: 7.072 MB / 0.676 GB, free: 2.758 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.878, allocations: 398.9 kB / 0.6763 GB, free: 2.367 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.8786, allocations: 237.2 kB / 0.6766 GB, free: 2.129 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.8895, allocations: 3.738 MB / 0.6802 GB, free: 14.38 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.8895, allocations: 0 / 0.6802 GB, free: 14.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8896, allocations: 0 / 0.6802 GB, free: 14.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.883e-05/0.8896, allocations: 4 kB / 0.6802 GB, free: 14.38 MB / 474.7 MB 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.008362/0.898, allocations: 2.054 MB / 0.6822 GB, free: 12.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.8981, allocations: 8.031 kB / 0.6822 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004779/0.8986, allocations: 134.8 kB / 0.6824 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006319/0.8992, allocations: 110.8 kB / 0.6825 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.9013, allocations: 0.7148 MB / 0.6832 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.9015, allocations: 58.84 kB / 0.6832 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.9018, allocations: 71.98 kB / 0.6833 GB, free: 11.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003588/0.9054, allocations: 1.259 MB / 0.6845 GB, free: 9.852 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.9054, allocations: 0 / 0.6845 GB, free: 9.852 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.9056, allocations: 35.94 kB / 0.6846 GB, free: 9.816 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000178/0.9058, allocations: 73.95 kB / 0.6846 GB, free: 9.746 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004264/0.9101, allocations: 1.398 MB / 0.686 GB, free: 8.344 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.9236, allocations: 4.656 MB / 0.6905 GB, free: 3.332 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.9259, allocations: 0.6623 MB / 0.6912 GB, free: 2.664 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009346/0.9269, allocations: 318 kB / 0.6915 GB, free: 2.352 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003095/0.93, allocations: 2.107 MB / 0.6935 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.9301, allocations: 38.98 kB / 0.6936 GB, free: 15.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=54): time 3.226e-06/0.9301, allocations: 3.938 kB / 0.6936 GB, free: 15.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.003271/0.9334, allocations: 0.9706 MB / 0.6945 GB, free: 14.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.9335, allocations: 115.2 kB / 0.6946 GB, free: 14.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.9349, allocations: 0.7346 MB / 0.6954 GB, free: 13.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.772e-05/0.935, allocations: 37.64 kB / 0.6954 GB, free: 13.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005317/0.9356, allocations: 486.2 kB / 0.6959 GB, free: 13.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.9358, allocations: 189.3 kB / 0.696 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.9359, allocations: 20 kB / 0.6961 GB, free: 13.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002497/0.9362, allocations: 390.8 kB / 0.6964 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.9374, allocations: 361.8 kB / 0.6968 GB, free: 12.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.9387, allocations: 0.6154 MB / 0.6974 GB, free: 11.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.9401, allocations: 459 kB / 0.6978 GB, free: 11.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.9401, allocations: 4 kB / 0.6978 GB, free: 11.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003439/0.9436, allocations: 1.133 MB / 0.6989 GB, free: 10.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002941/0.9439, allocations: 325.1 kB / 0.6992 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.9439, allocations: 8 kB / 0.6992 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-05/0.944, allocations: 16 kB / 0.6993 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.9458, allocations: 235.6 kB / 0.6995 GB, free: 9.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.64e-05/0.9458, allocations: 12 kB / 0.6995 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.9472, allocations: 131.2 kB / 0.6996 GB, free: 9.348 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.9475, allocations: 67.98 kB / 0.6997 GB, free: 9.281 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.9475, allocations: 10.59 kB / 0.6997 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003081/0.9506, allocations: 0.9949 MB / 0.7007 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.9506, allocations: 12.78 kB / 0.7007 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.9507, allocations: 12 kB / 0.7007 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.9523, allocations: 239.5 kB / 0.7009 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/0.9524, allocations: 19.97 kB / 0.7009 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.9536, allocations: 95.25 kB / 0.701 GB, free: 7.906 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.9538, allocations: 79.91 kB / 0.7011 GB, free: 7.828 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0007479/0.9546, allocations: 364.8 kB / 0.7015 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.9548, allocations: 79.06 kB / 0.7015 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.9586, allocations: 1.091 MB / 0.7026 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.9586, allocations: 15.95 kB / 0.7026 GB, free: 6.254 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.9587, allocations: 0 / 0.7026 GB, free: 6.254 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.9587, allocations: 3.984 kB / 0.7026 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/0.9631, allocations: 1.748 MB / 0.7043 GB, free: 4.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.9631, allocations: 0 / 0.7043 GB, free: 4.422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.9642, allocations: 135.8 kB / 0.7045 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/0.9642, allocations: 4.25 kB / 0.7045 GB, free: 4.285 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-05/0.9643, allocations: 27.98 kB / 0.7045 GB, free: 4.258 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.9643, allocations: 4 kB / 0.7045 GB, free: 4.254 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.9643, allocations: 4 kB / 0.7045 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.9667, allocations: 0.9002 MB / 0.7054 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.9671, allocations: 187.9 kB / 0.7055 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.9673, allocations: 15.98 kB / 0.7056 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008844/0.9682, allocations: 39.97 kB / 0.7056 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.9684, allocations: 60.44 kB / 0.7057 GB, free: 2.992 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.9685, allocations: 39.98 kB / 0.7057 GB, free: 2.953 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001078/0.9696, allocations: 0.499 MB / 0.7062 GB, free: 2.461 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9696, allocations: 0 / 0.7062 GB, free: 2.461 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004181/0.9738, allocations: 1.17 MB / 0.7073 GB, free: 1.289 MB / 490.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.007066/0.9809, allocations: 2.509 MB / 0.7098 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004231/0.9852, allocations: 1.364 MB / 0.7111 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.9853, allocations: 9.938 kB / 0.7111 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.9864, allocations: 367.5 kB / 0.7115 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/0.9895, allocations: 355.5 kB / 0.7118 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/1.007, allocations: 6.57 MB / 0.7182 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009618/1.008, allocations: 1.07 MB / 0.7193 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003699/1.012, allocations: 0.5374 MB / 0.7198 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.013, allocations: 363.3 kB / 0.7201 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of SimCode: time 1.001e-06/1.013, allocations: 0 / 0.7201 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5171/1.53, allocations: 37.99 MB / 0.7572 GB, free: 178.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/1.53, allocations: 238.6 kB / 0.7575 GB, free: 178.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.391/5.921, allocations: 0 / 0.7575 GB, free: 178.3 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat