Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009441/0.0009442, allocations: 96.44 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 176.5 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4569/0.4569, allocations: 43.54 MB / 314.5 MB, free: 9.016 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008139/0.000814, allocations: 12 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1726, allocations: 58.86 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5809/0.7535, allocations: 171 MB / 0.5995 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0193/0.7729, allocations: 11.38 MB / 0.6106 GB, free: 5.273 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.7749, allocations: 31.75 kB / 0.6106 GB, free: 5.242 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.7764, allocations: 382.2 kB / 0.611 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.7872, allocations: 2.333 MB / 0.6132 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01151/0.7987, allocations: 2.925 MB / 0.6161 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003287/0.802, allocations: 1.422 MB / 0.6175 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.8031, allocations: 0.6014 MB / 0.6181 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.8049, allocations: 0.8609 MB / 0.6189 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.8063, allocations: 0.7985 MB / 0.6197 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.8065, allocations: 52 kB / 0.6198 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.8226, allocations: 6.752 MB / 0.6263 GB, free: 5.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.8239, allocations: 375 kB / 0.6267 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007125/0.8246, allocations: 229.2 kB / 0.6269 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.8358, allocations: 3.413 MB / 0.6303 GB, free: 1.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8359, allocations: 0 / 0.6303 GB, free: 1.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.8359, allocations: 0 / 0.6303 GB, free: 1.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.091e-05/0.836, allocations: 0 / 0.6303 GB, free: 1.094 MB / 494.1 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.3397/1.176, allocations: 1.956 MB / 0.6322 GB, free: 152.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.489e-05/1.176, allocations: 8.531 kB / 0.6322 GB, free: 152.6 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005432/1.176, allocations: 130.8 kB / 0.6323 GB, free: 152.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005163/1.177, allocations: 120.8 kB / 0.6324 GB, free: 152.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/1.178, allocations: 0.6843 MB / 0.6331 GB, free: 152.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/1.178, allocations: 55.81 kB / 0.6331 GB, free: 152.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/1.179, allocations: 71.25 kB / 0.6332 GB, free: 152.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/1.181, allocations: 1.256 MB / 0.6344 GB, free: 152.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/1.181, allocations: 0 / 0.6344 GB, free: 152.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.181, allocations: 34.47 kB / 0.6345 GB, free: 152.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/1.181, allocations: 76.3 kB / 0.6345 GB, free: 152.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/1.184, allocations: 1.414 MB / 0.6359 GB, free: 152.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00898/1.193, allocations: 4.811 MB / 0.6406 GB, free: 150 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/1.194, allocations: 0.8775 MB / 0.6415 GB, free: 149.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006137/1.195, allocations: 0.7421 MB / 0.6422 GB, free: 149 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/1.195, allocations: 49.05 kB / 0.6422 GB, free: 148.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=55): time 3.467e-06/1.195, allocations: 0 / 0.6422 GB, free: 148.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=55): time 0.002324/1.197, allocations: 1.266 MB / 0.6435 GB, free: 148.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/1.198, allocations: 113.6 kB / 0.6436 GB, free: 148.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.199, allocations: 0.9559 MB / 0.6445 GB, free: 147.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-05/1.199, allocations: 43.7 kB / 0.6446 GB, free: 147.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/1.199, allocations: 453.3 kB / 0.645 GB, free: 147.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/1.199, allocations: 193.8 kB / 0.6452 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/1.199, allocations: 18.84 kB / 0.6452 GB, free: 147.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/1.199, allocations: 339 kB / 0.6455 GB, free: 147.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/1.2, allocations: 467.4 kB / 0.646 GB, free: 146.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008733/1.201, allocations: 0.5908 MB / 0.6465 GB, free: 146.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/1.202, allocations: 0.545 MB / 0.6471 GB, free: 146.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/1.202, allocations: 10.45 kB / 0.6471 GB, free: 146.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002128/1.204, allocations: 1.267 MB / 0.6483 GB, free: 145.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003634/1.205, allocations: 1.142 MB / 0.6494 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.205, allocations: 3.312 kB / 0.6494 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/1.205, allocations: 5.938 kB / 0.6494 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009219/1.205, allocations: 208.4 kB / 0.6496 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/1.206, allocations: 10.59 kB / 0.6497 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.207, allocations: 135.7 kB / 0.6498 GB, free: 144.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/1.207, allocations: 63.86 kB / 0.6498 GB, free: 144.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/1.207, allocations: 7.047 kB / 0.6499 GB, free: 144.6 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00181/1.208, allocations: 1.122 MB / 0.6509 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/1.209, allocations: 7.078 kB / 0.651 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/1.209, allocations: 6.781 kB / 0.651 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008486/1.209, allocations: 209.4 kB / 0.6512 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/1.209, allocations: 14.62 kB / 0.6512 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008888/1.21, allocations: 106.8 kB / 0.6513 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.21, allocations: 65.53 kB / 0.6513 GB, free: 144.1 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006874/1.211, allocations: 357.4 kB / 0.6517 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/1.211, allocations: 100.3 kB / 0.6518 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/1.214, allocations: 1.296 MB / 0.653 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/1.214, allocations: 6.719 kB / 0.653 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/1.214, allocations: 0 / 0.653 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/1.214, allocations: 3.469 kB / 0.6531 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/1.217, allocations: 2.051 MB / 0.6551 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.217, allocations: 3.094 kB / 0.6551 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/1.217, allocations: 134 kB / 0.6552 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/1.218, allocations: 10.41 kB / 0.6552 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/1.218, allocations: 22.75 kB / 0.6552 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.218, allocations: 6.25 kB / 0.6552 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.218, allocations: 7.031 kB / 0.6552 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/1.219, allocations: 1.181 MB / 0.6564 GB, free: 141.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/1.22, allocations: 211.8 kB / 0.6566 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/1.22, allocations: 13.91 kB / 0.6566 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007182/1.221, allocations: 55.11 kB / 0.6567 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.221, allocations: 55.81 kB / 0.6567 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.221, allocations: 49.27 kB / 0.6568 GB, free: 141.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008805/1.222, allocations: 0.6888 MB / 0.6574 GB, free: 141.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.222, allocations: 0 / 0.6574 GB, free: 141.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00351/1.225, allocations: 1.188 MB / 0.6586 GB, free: 141 MB / 494.1 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 (64): * Single equations (assignments): 64 * 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.006304/1.232, allocations: 3.326 MB / 0.6618 GB, free: 139.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003474/1.235, allocations: 1.615 MB / 0.6634 GB, free: 138.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.235, allocations: 2.906 kB / 0.6634 GB, free: 138.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009215/1.236, allocations: 460.7 kB / 0.6639 GB, free: 138.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/1.239, allocations: 0.4906 MB / 0.6643 GB, free: 138.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006322/1.245, allocations: 4.824 MB / 0.669 GB, free: 134.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008427/1.246, allocations: 1.075 MB / 0.6701 GB, free: 134.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002592/1.249, allocations: 0.5544 MB / 0.6706 GB, free: 134 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007068/1.249, allocations: 375.4 kB / 0.671 GB, free: 133.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.282e-06/1.249, allocations: 0 / 0.671 GB, free: 133.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08996/1.339, allocations: 43.95 MB / 0.7139 GB, free: 103.9 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/1.34, allocations: 233.1 kB / 0.7141 GB, free: 103.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/4.552, allocations: 0 / 0.7141 GB, free: 103.7 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat