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.001328/0.001328, allocations: 103.2 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.001431/0.001431, 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.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2419/0.2419, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.003317/0.003317, allocations: 77.31 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.138, allocations: 62.46 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5171/0.6552, allocations: 216 MB / 0.6799 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.6684, allocations: 8.51 MB / 0.6882 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.6697, allocations: 27.81 kB / 0.6882 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.6714, allocations: 493 kB / 0.6887 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008491/0.6799, allocations: 2.824 MB / 0.6915 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01076/0.6907, allocations: 4.25 MB / 0.6956 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003677/0.6944, allocations: 2.647 MB / 0.6982 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.6957, allocations: 0.7442 MB / 0.6989 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.6975, allocations: 1.016 MB / 0.6999 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.6993, allocations: 1.137 MB / 0.701 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.6996, allocations: 112 kB / 0.7011 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.31/1.01, allocations: 7.681 MB / 0.7086 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000919/1.011, allocations: 473.5 kB / 0.7091 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/1.012, allocations: 0.6051 MB / 0.7097 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01344/1.025, allocations: 5.404 MB / 0.715 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.025, allocations: 3.25 kB / 0.715 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/1.025, allocations: 0.625 kB / 0.715 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.594e-05/1.025, allocations: 0 / 0.715 GB, free: 8.609 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.007934/1.033, allocations: 2.172 MB / 0.7171 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.033, allocations: 12.81 kB / 0.7171 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000193/1.033, allocations: 127.2 kB / 0.7172 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/1.034, allocations: 120 kB / 0.7173 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/1.035, allocations: 0.6973 MB / 0.718 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/1.035, allocations: 60.17 kB / 0.7181 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/1.035, allocations: 75.59 kB / 0.7182 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/1.038, allocations: 1.246 MB / 0.7194 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.038, allocations: 0 / 0.7194 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/1.038, allocations: 39.08 kB / 0.7194 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/1.038, allocations: 70.48 kB / 0.7195 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/1.041, allocations: 1.396 MB / 0.7208 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00771/1.048, allocations: 4.897 MB / 0.7256 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.05, allocations: 0.8377 MB / 0.7264 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/1.05, allocations: 400.9 kB / 0.7268 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007994/1.051, allocations: 0.7847 MB / 0.7276 GB, free: 20.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/1.051, allocations: 39.88 kB / 0.7276 GB, free: 20.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 2.505e-06/1.051, allocations: 0 / 0.7276 GB, free: 20.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=53): time 0.002306/1.054, allocations: 1.214 MB / 0.7288 GB, free: 20.03 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/1.054, allocations: 109.6 kB / 0.7289 GB, free: 19.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/1.055, allocations: 0.9911 MB / 0.7299 GB, free: 19.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/1.055, allocations: 40.36 kB / 0.7299 GB, free: 19.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/1.055, allocations: 459.9 kB / 0.7304 GB, free: 19.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/1.056, allocations: 185.1 kB / 0.7305 GB, free: 19.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/1.056, allocations: 191.3 kB / 0.7307 GB, free: 19.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.056, allocations: 345.8 kB / 0.731 GB, free: 19.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000749/1.057, allocations: 485 kB / 0.7315 GB, free: 19.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000812/1.058, allocations: 0.6006 MB / 0.7321 GB, free: 18.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/1.059, allocations: 1.003 MB / 0.7331 GB, free: 18.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.059, allocations: 7.125 kB / 0.7331 GB, free: 18.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002204/1.061, allocations: 1.265 MB / 0.7343 GB, free: 18.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.061, allocations: 6.5 kB / 0.7343 GB, free: 18.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.061, allocations: 4.547 kB / 0.7343 GB, free: 18.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/1.061, allocations: 10.47 kB / 0.7343 GB, free: 18.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009378/1.062, allocations: 200.8 kB / 0.7345 GB, free: 18.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/1.062, allocations: 8.828 kB / 0.7345 GB, free: 18.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.064, allocations: 120.3 kB / 0.7347 GB, free: 18.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/1.064, allocations: 48.31 kB / 0.7347 GB, free: 18.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001297/1.065, allocations: 0.6627 MB / 0.7353 GB, free: 18.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009072/1.066, allocations: 0.5903 MB / 0.7359 GB, free: 18.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001416/1.067, allocations: 0.9621 MB / 0.7369 GB, free: 18.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/1.067, allocations: 2.594 kB / 0.7369 GB, free: 18.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002201/1.07, allocations: 1.217 MB / 0.7381 GB, free: 18.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.07, allocations: 5.844 kB / 0.7381 GB, free: 18.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.07, allocations: 5.188 kB / 0.7381 GB, free: 18.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/1.07, allocations: 8.453 kB / 0.7381 GB, free: 18.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/1.07, allocations: 198.5 kB / 0.7383 GB, free: 18.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/1.071, allocations: 8.891 kB / 0.7383 GB, free: 18.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.072, allocations: 77.55 kB / 0.7383 GB, free: 18.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/1.072, allocations: 46.83 kB / 0.7384 GB, free: 18.21 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.0004721/1.072, allocations: 224.3 kB / 0.7386 GB, free: 18.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/1.073, allocations: 97 kB / 0.7387 GB, free: 17.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/1.075, allocations: 1.185 MB / 0.7399 GB, free: 17.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.075, allocations: 5.531 kB / 0.7399 GB, free: 17.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.075, allocations: 0.9375 kB / 0.7399 GB, free: 17.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/1.075, allocations: 7.781 kB / 0.7399 GB, free: 17.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/1.078, allocations: 1.855 MB / 0.7417 GB, free: 17.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.078, allocations: 3.562 kB / 0.7417 GB, free: 17.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/1.078, allocations: 113.6 kB / 0.7418 GB, free: 17.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/1.078, allocations: 2.719 kB / 0.7418 GB, free: 17.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/1.078, allocations: 19.38 kB / 0.7418 GB, free: 17.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/1.078, allocations: 5.031 kB / 0.7418 GB, free: 17.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.078, allocations: 6.625 kB / 0.7418 GB, free: 17.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/1.08, allocations: 0.9288 MB / 0.7427 GB, free: 17.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/1.08, allocations: 184.2 kB / 0.7429 GB, free: 17.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/1.08, allocations: 21.12 kB / 0.7429 GB, free: 17.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007013/1.081, allocations: 32.02 kB / 0.743 GB, free: 17.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.081, allocations: 44.89 kB / 0.743 GB, free: 17.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.543e-05/1.081, allocations: 36.88 kB / 0.743 GB, free: 17.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009168/1.082, allocations: 0.756 MB / 0.7438 GB, free: 16.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.082, allocations: 0 / 0.7438 GB, free: 16.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003929/1.086, allocations: 1.18 MB / 0.7449 GB, free: 16.73 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.005793/1.092, allocations: 2.467 MB / 0.7473 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003247/1.095, allocations: 1.627 MB / 0.7489 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.095, allocations: 4.531 kB / 0.7489 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005502/1.096, allocations: 373.8 kB / 0.7493 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/1.099, allocations: 0.5368 MB / 0.7498 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/1.112, allocations: 9.603 MB / 0.7592 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/1.113, allocations: 1.049 MB / 0.7602 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002181/1.115, allocations: 0.7522 MB / 0.7609 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/1.116, allocations: 342.2 kB / 0.7613 GB, free: 11.86 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/1.116, allocations: 2.375 kB / 0.7613 GB, free: 11.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08958/1.206, allocations: 44.91 MB / 0.8051 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.39/10.6, allocations: 18.73 kB / 0.8051 GB, free: 5.945 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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)