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.001324/0.001324, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2267/0.2267, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002226/0.002226, allocations: 85.05 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1245, allocations: 62.46 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.4869/0.6114, allocations: 216 MB / 0.6799 GB, free: 10.91 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.625, allocations: 8.498 MB / 0.6882 GB, free: 2.383 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.6265, allocations: 27.81 kB / 0.6882 GB, free: 2.355 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.6284, allocations: 0.4932 MB / 0.6887 GB, free: 1.859 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.009786/0.6382, allocations: 2.82 MB / 0.6915 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01497/0.6532, allocations: 4.242 MB / 0.6956 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004849/0.6581, allocations: 2.647 MB / 0.6982 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.6595, allocations: 0.7379 MB / 0.6989 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.6615, allocations: 1.024 MB / 0.6999 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.6633, allocations: 1.137 MB / 0.701 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.6635, allocations: 112 kB / 0.7011 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3217/0.9852, allocations: 7.689 MB / 0.7087 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000886/0.9862, allocations: 471 kB / 0.7091 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000914/0.9871, allocations: 0.6083 MB / 0.7097 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.9994, allocations: 5.398 MB / 0.715 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.9995, allocations: 2.562 kB / 0.715 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9995, allocations: 1.203 kB / 0.715 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.9995, allocations: 0.5 kB / 0.715 GB, free: 8.477 MB / 0.5294 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.006367/1.006, allocations: 2.173 MB / 0.7171 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.006, allocations: 10.38 kB / 0.7171 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002013/1.006, allocations: 128.8 kB / 0.7172 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000568/1.007, allocations: 124.4 kB / 0.7173 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/1.008, allocations: 0.694 MB / 0.718 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/1.008, allocations: 60.38 kB / 0.7181 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/1.008, allocations: 76.61 kB / 0.7182 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/1.01, allocations: 1.241 MB / 0.7194 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.01, allocations: 4.094 kB / 0.7194 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.01, allocations: 36.81 kB / 0.7194 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.664e-05/1.01, allocations: 77.81 kB / 0.7195 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/1.013, allocations: 1.387 MB / 0.7208 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007637/1.02, allocations: 4.898 MB / 0.7256 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/1.022, allocations: 0.8401 MB / 0.7264 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/1.022, allocations: 402.2 kB / 0.7268 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007947/1.023, allocations: 0.7863 MB / 0.7276 GB, free: 20.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/1.023, allocations: 45.59 kB / 0.7276 GB, free: 19.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 2.495e-06/1.023, allocations: 0.625 kB / 0.7276 GB, free: 19.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=53): time 0.002371/1.026, allocations: 1.21 MB / 0.7288 GB, free: 19.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.026, allocations: 110.3 kB / 0.7289 GB, free: 19.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/1.028, allocations: 0.9868 MB / 0.7299 GB, free: 19.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/1.028, allocations: 41.45 kB / 0.7299 GB, free: 19.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/1.028, allocations: 460.5 kB / 0.7304 GB, free: 19.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/1.028, allocations: 188.5 kB / 0.7305 GB, free: 19.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/1.028, allocations: 194.8 kB / 0.7307 GB, free: 19.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.029, allocations: 343.8 kB / 0.7311 GB, free: 18.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007455/1.029, allocations: 478.6 kB / 0.7315 GB, free: 18.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008202/1.03, allocations: 0.6016 MB / 0.7321 GB, free: 18.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/1.032, allocations: 1.005 MB / 0.7331 GB, free: 18.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.032, allocations: 0 / 0.7331 GB, free: 18.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002243/1.034, allocations: 1.269 MB / 0.7343 GB, free: 18.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.034, allocations: 5.312 kB / 0.7343 GB, free: 18.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.034, allocations: 4.406 kB / 0.7343 GB, free: 18.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/1.034, allocations: 8.75 kB / 0.7343 GB, free: 18.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008688/1.035, allocations: 203.9 kB / 0.7345 GB, free: 18.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.035, allocations: 8.5 kB / 0.7345 GB, free: 18.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009917/1.036, allocations: 118.4 kB / 0.7347 GB, free: 18.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.036, allocations: 47.78 kB / 0.7347 GB, free: 18.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001011/1.037, allocations: 0.6644 MB / 0.7353 GB, free: 18.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007532/1.038, allocations: 0.5925 MB / 0.7359 GB, free: 18.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001334/1.039, allocations: 0.9614 MB / 0.7369 GB, free: 18.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.541e-06/1.039, allocations: 3.922 kB / 0.7369 GB, free: 18.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002137/1.041, allocations: 1.219 MB / 0.7381 GB, free: 18.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.041, allocations: 6.438 kB / 0.7381 GB, free: 18.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.041, allocations: 4.125 kB / 0.7381 GB, free: 18.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/1.041, allocations: 6.75 kB / 0.7381 GB, free: 18.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/1.042, allocations: 202.2 kB / 0.7383 GB, free: 18.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/1.042, allocations: 8.203 kB / 0.7383 GB, free: 18.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/1.043, allocations: 81.12 kB / 0.7384 GB, free: 18.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.043, allocations: 47.2 kB / 0.7384 GB, free: 18.07 MB / 0.545 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.0004251/1.044, allocations: 222 kB / 0.7386 GB, free: 17.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/1.044, allocations: 96.67 kB / 0.7387 GB, free: 17.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/1.046, allocations: 1.182 MB / 0.7399 GB, free: 17.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.046, allocations: 4.625 kB / 0.7399 GB, free: 17.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.046, allocations: 3.562 kB / 0.7399 GB, free: 17.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/1.046, allocations: 6.797 kB / 0.7399 GB, free: 17.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/1.049, allocations: 1.85 MB / 0.7417 GB, free: 17.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.049, allocations: 6.938 kB / 0.7417 GB, free: 17.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/1.05, allocations: 107 kB / 0.7418 GB, free: 17.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.05, allocations: 5.562 kB / 0.7418 GB, free: 17.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/1.05, allocations: 18.95 kB / 0.7418 GB, free: 17.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/1.05, allocations: 8.828 kB / 0.7418 GB, free: 17.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.05, allocations: 8.281 kB / 0.7418 GB, free: 17.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/1.051, allocations: 0.9332 MB / 0.7427 GB, free: 17.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/1.052, allocations: 183.6 kB / 0.7429 GB, free: 16.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/1.052, allocations: 14.66 kB / 0.7429 GB, free: 16.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/1.053, allocations: 32.88 kB / 0.743 GB, free: 16.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.053, allocations: 39.58 kB / 0.743 GB, free: 16.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/1.053, allocations: 47.42 kB / 0.743 GB, free: 16.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009602/1.054, allocations: 0.763 MB / 0.7438 GB, free: 16.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1.054, allocations: 0 / 0.7438 GB, free: 16.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0035/1.057, allocations: 1.17 MB / 0.7449 GB, free: 16.59 MB / 0.545 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.00496/1.062, allocations: 2.468 MB / 0.7473 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003199/1.065, allocations: 1.627 MB / 0.7489 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.065, allocations: 0 / 0.7489 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006319/1.066, allocations: 373.2 kB / 0.7493 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/1.069, allocations: 0.534 MB / 0.7498 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.083, allocations: 9.608 MB / 0.7592 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008254/1.084, allocations: 1.047 MB / 0.7602 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002167/1.086, allocations: 0.7534 MB / 0.7609 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005086/1.087, allocations: 341.9 kB / 0.7613 GB, free: 11.73 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/1.087, allocations: 0 / 0.7613 GB, free: 11.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08906/1.176, allocations: 44.91 MB / 0.8051 GB, free: 5.922 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.458/10.63, allocations: 11.12 kB / 0.8051 GB, free: 5.914 MB / 0.5763 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)