Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01197/0.01197, allocations: 161.6 kB / 15.11 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.657/1.657, allocations: 170.8 MB / 186.7 MB, free: 1.105 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00176/0.00176, allocations: 106.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4362/0.4362, allocations: 38.06 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006222/0.0006225, allocations: 8 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1022, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 1.004/1.107, allocations: 201.3 MB / 0.5986 GB, free: 3.32 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02015/1.127, allocations: 10.1 MB / 0.6085 GB, free: 3.215 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/1.128, allocations: 40.67 kB / 0.6085 GB, free: 3.211 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/1.13, allocations: 321.3 kB / 0.6088 GB, free: 3.211 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.1+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.1+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.1+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.1+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.009423/1.139, allocations: 2.51 MB / 0.6113 GB, free: 3.094 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01342/1.152, allocations: 3.586 MB / 0.6148 GB, free: 2.965 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005142/1.158, allocations: 3.155 MB / 0.6179 GB, free: 2.961 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/1.159, allocations: 0.5837 MB / 0.6184 GB, free: 2.902 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0026/1.162, allocations: 0.8515 MB / 0.6193 GB, free: 2.902 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/1.165, allocations: 1.114 MB / 0.6204 GB, free: 2.895 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003297/1.165, allocations: 52.28 kB / 0.6204 GB, free: 2.895 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02596/1.191, allocations: 7.001 MB / 0.6272 GB, free: 2.82 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/1.192, allocations: 406.3 kB / 0.6276 GB, free: 2.742 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007718/1.193, allocations: 230.8 kB / 0.6279 GB, free: 18.71 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/1.204, allocations: 3.733 MB / 0.6315 GB, free: 17.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.204, allocations: 0 / 0.6315 GB, free: 17.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.204, allocations: 0 / 0.6315 GB, free: 17.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.057e-05/1.204, allocations: 2.375 kB / 0.6315 GB, free: 17.2 MB / 442.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.007819/1.211, allocations: 2.062 MB / 0.6335 GB, free: 15.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.212, allocations: 9.344 kB / 0.6335 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004546/1.212, allocations: 127 kB / 0.6336 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000607/1.213, allocations: 122.4 kB / 0.6338 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/1.215, allocations: 0.7115 MB / 0.6345 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/1.215, allocations: 63 kB / 0.6345 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/1.215, allocations: 69.97 kB / 0.6346 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003231/1.218, allocations: 1.25 MB / 0.6358 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/1.218, allocations: 0 / 0.6358 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/1.218, allocations: 38.08 kB / 0.6358 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/1.219, allocations: 74.11 kB / 0.6359 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003773/1.222, allocations: 1.403 MB / 0.6373 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/1.236, allocations: 4.513 MB / 0.6417 GB, free: 12.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/1.238, allocations: 0.6521 MB / 0.6423 GB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/1.239, allocations: 325 kB / 0.6426 GB, free: 11.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003027/1.242, allocations: 2.108 MB / 0.6447 GB, free: 9.945 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/1.242, allocations: 40.53 kB / 0.6447 GB, free: 9.906 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 3.977e-06/1.242, allocations: 1.969 kB / 0.6447 GB, free: 9.906 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.003287/1.246, allocations: 0.9775 MB / 0.6457 GB, free: 9.691 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/1.246, allocations: 108.5 kB / 0.6458 GB, free: 9.566 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/1.247, allocations: 0.734 MB / 0.6465 GB, free: 9.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/1.247, allocations: 35.48 kB / 0.6465 GB, free: 9.289 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004731/1.248, allocations: 487.2 kB / 0.647 GB, free: 8.992 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/1.248, allocations: 200.2 kB / 0.6472 GB, free: 8.852 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-05/1.248, allocations: 14.62 kB / 0.6472 GB, free: 8.852 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002248/1.248, allocations: 389.5 kB / 0.6476 GB, free: 8.516 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/1.249, allocations: 362.1 kB / 0.6479 GB, free: 8.457 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/1.251, allocations: 0.6188 MB / 0.6485 GB, free: 8.082 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/1.252, allocations: 463 kB / 0.649 GB, free: 8.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.252, allocations: 0 / 0.649 GB, free: 8.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003122/1.255, allocations: 1.125 MB / 0.6501 GB, free: 7.801 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002832/1.255, allocations: 326.9 kB / 0.6504 GB, free: 7.422 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.255, allocations: 8.406 kB / 0.6504 GB, free: 7.422 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/1.255, allocations: 13.34 kB / 0.6504 GB, free: 7.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/1.257, allocations: 231.9 kB / 0.6506 GB, free: 7.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/1.257, allocations: 16.8 kB / 0.6506 GB, free: 7.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/1.259, allocations: 130 kB / 0.6508 GB, free: 7.316 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/1.259, allocations: 65.27 kB / 0.6508 GB, free: 7.312 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/1.259, allocations: 5.906 kB / 0.6508 GB, free: 7.312 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002717/1.261, allocations: 0.9937 MB / 0.6518 GB, free: 7.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.262, allocations: 13.48 kB / 0.6518 GB, free: 7.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/1.262, allocations: 14.12 kB / 0.6518 GB, free: 7.168 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.263, allocations: 224.6 kB / 0.652 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/1.263, allocations: 25.52 kB / 0.6521 GB, free: 7.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/1.264, allocations: 102.4 kB / 0.6522 GB, free: 7.082 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/1.265, allocations: 64.58 kB / 0.6522 GB, free: 7.078 MB / 442.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.0007361/1.265, allocations: 382.4 kB / 0.6526 GB, free: 6.855 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/1.266, allocations: 79.84 kB / 0.6527 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/1.269, allocations: 1.079 MB / 0.6537 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/1.269, allocations: 8.688 kB / 0.6537 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.269, allocations: 0 / 0.6537 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.269, allocations: 7.984 kB / 0.6537 GB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004258/1.273, allocations: 1.76 MB / 0.6555 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/1.273, allocations: 4 kB / 0.6555 GB, free: 5.293 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.275, allocations: 130.9 kB / 0.6556 GB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.129e-05/1.275, allocations: 11.95 kB / 0.6556 GB, free: 5.168 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/1.275, allocations: 15.12 kB / 0.6556 GB, free: 5.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/1.275, allocations: 11.98 kB / 0.6556 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.275, allocations: 10.62 kB / 0.6556 GB, free: 5.145 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/1.277, allocations: 0.8911 MB / 0.6565 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/1.277, allocations: 183 kB / 0.6567 GB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/1.278, allocations: 18.95 kB / 0.6567 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008878/1.278, allocations: 45.84 kB / 0.6567 GB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.279, allocations: 48.88 kB / 0.6568 GB, free: 4.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/1.279, allocations: 40.36 kB / 0.6568 GB, free: 4.125 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001008/1.28, allocations: 0.508 MB / 0.6573 GB, free: 3.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.28, allocations: 1.859 kB / 0.6573 GB, free: 3.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004425/1.284, allocations: 1.16 MB / 0.6585 GB, free: 2.672 MB / 442.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.009061/1.293, allocations: 2.515 MB / 0.6609 GB, free: 464 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005245/1.299, allocations: 1.359 MB / 0.6622 GB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.299, allocations: 0 / 0.6622 GB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.3, allocations: 371 kB / 0.6626 GB, free: 15.28 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007925/1.308, allocations: 363.2 kB / 0.6629 GB, free: 15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04517/1.353, allocations: 6.582 MB / 0.6694 GB, free: 9.562 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009215/1.363, allocations: 1.073 MB / 0.6704 GB, free: 8.492 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005509/1.368, allocations: 0.5308 MB / 0.6709 GB, free: 7.969 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/1.37, allocations: 366.5 kB / 0.6713 GB, free: 7.836 MB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/1.37, allocations: 0 / 0.6713 GB, free: 7.836 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/1.483, allocations: 37.99 MB / 0.7084 GB, free: 1.953 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003562/1.483, allocations: 242.6 kB / 0.7086 GB, free: 1.707 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.446/5.929, allocations: 0 / 0.7086 GB, free: 1.707 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat