Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001458/0.001458, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2219/0.2219, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 83.88 kB / 480.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3192, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5943/0.9135, allocations: 216 MB / 0.7415 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.9247, allocations: 8.525 MB / 0.7499 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.9263, allocations: 29.62 kB / 0.7499 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.9278, allocations: 489.8 kB / 0.7504 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007311/0.9352, allocations: 2.83 MB / 0.7531 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009989/0.9452, allocations: 4.243 MB / 0.7573 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003268/0.9485, allocations: 2.652 MB / 0.7599 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.9497, allocations: 0.7399 MB / 0.7606 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.9517, allocations: 1.024 MB / 0.7616 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.9535, allocations: 1.136 MB / 0.7627 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002612/0.9538, allocations: 112.6 kB / 0.7628 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01418/0.968, allocations: 7.735 MB / 0.7703 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008765/0.9689, allocations: 482 kB / 0.7708 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.9702, allocations: 0.6054 MB / 0.7714 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.9841, allocations: 5.449 MB / 0.7767 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9842, allocations: 3.438 kB / 0.7767 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9842, allocations: 0 / 0.7767 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.671e-05/0.9842, allocations: 0.9375 kB / 0.7767 GB, free: 0.9219 MB / 0.5606 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.006021/0.9902, allocations: 2.245 MB / 0.7789 GB, free: 15.66 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.9903, allocations: 8.719 kB / 0.7789 GB, free: 15.66 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002016/0.9905, allocations: 132.5 kB / 0.7791 GB, free: 15.6 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/0.9911, allocations: 120.7 kB / 0.7792 GB, free: 15.54 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.9924, allocations: 0.7434 MB / 0.7799 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.784e-05/0.9925, allocations: 59.94 kB / 0.7799 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.9926, allocations: 78.39 kB / 0.78 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.995, allocations: 1.243 MB / 0.7812 GB, free: 14.78 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.995, allocations: 0.9062 kB / 0.7812 GB, free: 14.78 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.9951, allocations: 34.08 kB / 0.7813 GB, free: 14.78 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.9953, allocations: 76.52 kB / 0.7813 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/0.9979, allocations: 1.393 MB / 0.7827 GB, free: 14.52 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009035/1.007, allocations: 4.883 MB / 0.7875 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/1.009, allocations: 0.834 MB / 0.7883 GB, free: 11.51 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/1.009, allocations: 398 kB / 0.7887 GB, free: 11.44 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007236/1.01, allocations: 0.7836 MB / 0.7894 GB, free: 10.56 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/1.01, allocations: 47.67 kB / 0.7895 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=53): time 2.485e-06/1.01, allocations: 0.8438 kB / 0.7895 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of matching and sorting (n=53): time 0.002258/1.012, allocations: 1.211 MB / 0.7907 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/1.012, allocations: 111.3 kB / 0.7908 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/1.014, allocations: 0.9943 MB / 0.7917 GB, free: 9.832 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-05/1.014, allocations: 40.2 kB / 0.7918 GB, free: 9.801 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/1.014, allocations: 470 kB / 0.7922 GB, free: 9.547 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/1.014, allocations: 198.3 kB / 0.7924 GB, free: 9.406 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/1.015, allocations: 189.6 kB / 0.7926 GB, free: 9.355 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.015, allocations: 345.3 kB / 0.7929 GB, free: 9.035 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007414/1.015, allocations: 479.2 kB / 0.7934 GB, free: 8.949 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008598/1.016, allocations: 0.6084 MB / 0.794 GB, free: 8.734 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/1.018, allocations: 1.002 MB / 0.795 GB, free: 8.504 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.018, allocations: 0 / 0.795 GB, free: 8.504 MB / 0.5763 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002165/1.02, allocations: 1.279 MB / 0.7962 GB, free: 8.215 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.02, allocations: 4.844 kB / 0.7962 GB, free: 8.211 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.02, allocations: 11.97 kB / 0.7962 GB, free: 8.199 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/1.02, allocations: 9.031 kB / 0.7962 GB, free: 8.191 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009162/1.021, allocations: 199.3 kB / 0.7964 GB, free: 8.016 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/1.021, allocations: 7.969 kB / 0.7964 GB, free: 8.012 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008997/1.022, allocations: 122.2 kB / 0.7965 GB, free: 7.902 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/1.022, allocations: 49.23 kB / 0.7966 GB, free: 7.863 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001088/1.023, allocations: 0.6628 MB / 0.7972 GB, free: 7.41 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008954/1.024, allocations: 0.5889 MB / 0.7978 GB, free: 6.941 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001517/1.026, allocations: 0.9694 MB / 0.7988 GB, free: 6.277 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.858e-06/1.026, allocations: 1.062 kB / 0.7988 GB, free: 6.277 MB / 0.5763 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.00222/1.028, allocations: 1.219 MB / 0.7999 GB, free: 5.422 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/1.028, allocations: 4 kB / 0.8 GB, free: 5.418 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.028, allocations: 4.812 kB / 0.8 GB, free: 5.414 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.028, allocations: 8 kB / 0.8 GB, free: 5.406 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008865/1.029, allocations: 203.7 kB / 0.8002 GB, free: 5.23 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.029, allocations: 8.859 kB / 0.8002 GB, free: 5.223 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008342/1.03, allocations: 77.38 kB / 0.8002 GB, free: 5.16 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.03, allocations: 44.11 kB / 0.8003 GB, free: 5.125 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (101): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003173/1.03, allocations: 225.5 kB / 0.8005 GB, free: 4.93 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/1.03, allocations: 100 kB / 0.8006 GB, free: 4.832 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/1.033, allocations: 1.191 MB / 0.8018 GB, free: 3.957 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.033, allocations: 4 kB / 0.8018 GB, free: 3.953 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.033, allocations: 0 / 0.8018 GB, free: 3.953 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/1.033, allocations: 5.062 kB / 0.8018 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/1.036, allocations: 1.86 MB / 0.8036 GB, free: 2.043 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.036, allocations: 7.984 kB / 0.8036 GB, free: 2.035 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/1.036, allocations: 111 kB / 0.8037 GB, free: 1.934 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/1.036, allocations: 4.969 kB / 0.8037 GB, free: 1.93 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/1.036, allocations: 16 kB / 0.8037 GB, free: 1.914 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.036, allocations: 8 kB / 0.8037 GB, free: 1.906 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.036, allocations: 4.938 kB / 0.8037 GB, free: 1.902 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/1.038, allocations: 0.9307 MB / 0.8046 GB, free: 0.9414 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/1.038, allocations: 189.4 kB / 0.8048 GB, free: 0.7383 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/1.038, allocations: 23.14 kB / 0.8048 GB, free: 0.7188 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007072/1.039, allocations: 40.98 kB / 0.8049 GB, free: 0.6797 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/1.039, allocations: 37.45 kB / 0.8049 GB, free: 0.6445 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/1.039, allocations: 43.91 kB / 0.805 GB, free: 0.6016 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.001112/1.041, allocations: 0.754 MB / 0.8057 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.041, allocations: 0 / 0.8057 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003108/1.044, allocations: 1.189 MB / 0.8069 GB, free: 14.64 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005301/1.049, allocations: 2.489 MB / 0.8093 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003305/1.052, allocations: 1.542 MB / 0.8108 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.052, allocations: 4 kB / 0.8108 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006772/1.053, allocations: 371.4 kB / 0.8111 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/1.056, allocations: 0.5356 MB / 0.8117 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/1.071, allocations: 9.139 MB / 0.8206 GB, free: 496 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007675/1.072, allocations: 1.051 MB / 0.8216 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002202/1.074, allocations: 0.7422 MB / 0.8223 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/1.075, allocations: 339.3 kB / 0.8227 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of SimCode: time 1.253e-06/1.075, allocations: 8 kB / 0.8227 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08942/1.165, allocations: 45.21 MB / 0.8668 GB, free: 1.426 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.98, allocations: 10.36 kB / 0.8668 GB, free: 1.422 MB / 0.6388 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1)