Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.WaterComponents.TestJoin,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestJoin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestJoin,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestJoin",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.001177/0.001178, allocations: 94.11 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 180.9 kB / 17.2 MB, free: 5.914 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.748/1.748, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5257/0.5257, allocations: 48.76 MB / 320.4 MB, free: 3.809 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.0006889/0.000689, allocations: 16 kB / 391.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1714, allocations: 60.25 MB / 451.5 MB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.4262/0.5976, allocations: 89.88 MB / 0.5287 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0196/0.6173, allocations: 10.16 MB / 0.5386 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.6189, allocations: 23.81 kB / 0.5386 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.6216, allocations: 465.8 kB / 0.5391 GB, free: 8.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.6245, allocations: 0.553 MB / 0.5396 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02691/0.6514, allocations: 4.453 MB / 0.544 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002847/0.6543, allocations: 0.9815 MB / 0.5449 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.656, allocations: 0.5151 MB / 0.5454 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.6578, allocations: 490.3 kB / 0.5459 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.659, allocations: 418.3 kB / 0.5463 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.6593, allocations: 44 kB / 0.5463 GB, free: 1.312 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02186/0.6812, allocations: 6.262 MB / 0.5524 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.6816, allocations: 123.5 kB / 0.5526 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005294/0.6822, allocations: 177.3 kB / 0.5527 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009449/0.6917, allocations: 2.838 MB / 0.5555 GB, free: 7.902 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6917, allocations: 8 kB / 0.5555 GB, free: 7.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.494e-06/0.6918, allocations: 3.984 kB / 0.5555 GB, free: 7.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.501e-05/0.6918, allocations: 0 / 0.5555 GB, free: 7.891 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.00702/0.6989, allocations: 1.411 MB / 0.5569 GB, free: 6.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/0.6989, allocations: 16.03 kB / 0.5569 GB, free: 6.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003257/0.6993, allocations: 106.5 kB / 0.557 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007235/0.7, allocations: 103 kB / 0.5571 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.7012, allocations: 460.6 kB / 0.5575 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.7013, allocations: 45.31 kB / 0.5576 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.7015, allocations: 64 kB / 0.5577 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003084/0.7046, allocations: 0.814 MB / 0.5584 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.7046, allocations: 3.984 kB / 0.5585 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.7048, allocations: 28 kB / 0.5585 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.7048, allocations: 16 kB / 0.5585 GB, free: 4.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.7074, allocations: 0.5983 MB / 0.5591 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007187/0.7147, allocations: 4.386 MB / 0.5634 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.7172, allocations: 0.4967 MB / 0.5638 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1108/0.8281, allocations: 32.3 MB / 0.5954 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.044e-05/0.8282, allocations: 44.67 kB / 0.5954 GB, free: 10.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 4.468e-06/0.8282, allocations: 0 / 0.5954 GB, free: 10.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=32): time 0.004134/0.8324, allocations: 0.7062 MB / 0.5961 GB, free: 9.855 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.8325, allocations: 93.09 kB / 0.5962 GB, free: 9.746 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008652/0.8334, allocations: 462.9 kB / 0.5967 GB, free: 9.285 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.8335, allocations: 29.7 kB / 0.5967 GB, free: 9.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.8339, allocations: 339.7 kB / 0.597 GB, free: 8.914 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.834, allocations: 102.4 kB / 0.5971 GB, free: 8.812 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.8341, allocations: 12 kB / 0.5971 GB, free: 8.801 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.8343, allocations: 362.8 kB / 0.5975 GB, free: 8.438 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006603/0.835, allocations: 140.6 kB / 0.5976 GB, free: 8.297 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006883/0.8357, allocations: 213.8 kB / 0.5978 GB, free: 8.059 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006208/0.8364, allocations: 150.6 kB / 0.5979 GB, free: 7.914 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8364, allocations: 0 / 0.5979 GB, free: 7.914 MB / 478.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001739/0.8381, allocations: 456.2 kB / 0.5984 GB, free: 7.465 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005129/0.8387, allocations: 0.8732 MB / 0.5992 GB, free: 6.523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.8387, allocations: 7.953 kB / 0.5992 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.8387, allocations: 7.984 kB / 0.5992 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.8395, allocations: 87.89 kB / 0.5993 GB, free: 6.422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.8396, allocations: 7.984 kB / 0.5993 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009005/0.8405, allocations: 87.48 kB / 0.5994 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/0.8406, allocations: 15.98 kB / 0.5994 GB, free: 6.312 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.8406, allocations: 4 kB / 0.5994 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001046/0.8417, allocations: 303.8 kB / 0.5997 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.8417, allocations: 4 kB / 0.5997 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8417, allocations: 7.984 kB / 0.5997 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.8423, allocations: 83.89 kB / 0.5998 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.8423, allocations: 5.328 kB / 0.5998 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.8431, allocations: 83.61 kB / 0.5999 GB, free: 5.832 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.8432, allocations: 12 kB / 0.5999 GB, free: 5.82 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0005411/0.8438, allocations: 272.8 kB / 0.6002 GB, free: 5.543 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.844, allocations: 55.34 kB / 0.6002 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/0.8474, allocations: 1.58 MB / 0.6018 GB, free: 3.895 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.762e-05/0.8474, allocations: 19.97 kB / 0.6018 GB, free: 3.875 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.8475, allocations: 10.69 kB / 0.6018 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.8475, allocations: 3.984 kB / 0.6018 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.8496, allocations: 0.9713 MB / 0.6028 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.8496, allocations: 4 kB / 0.6028 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.8502, allocations: 67.89 kB / 0.6028 GB, free: 2.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.8503, allocations: 7.938 kB / 0.6028 GB, free: 2.766 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.8503, allocations: 11.98 kB / 0.6028 GB, free: 2.754 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.8503, allocations: 3.953 kB / 0.6028 GB, free: 2.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8504, allocations: 4 kB / 0.6028 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.8526, allocations: 1.009 MB / 0.6038 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.8531, allocations: 195.8 kB / 0.604 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.8532, allocations: 8 kB / 0.604 GB, free: 1.504 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007433/0.854, allocations: 59.88 kB / 0.6041 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.8542, allocations: 43.94 kB / 0.6041 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.8542, allocations: 8 kB / 0.6041 GB, free: 1.395 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005572/0.8548, allocations: 318.9 kB / 0.6044 GB, free: 1.082 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.084e-06/0.8548, allocations: 4 kB / 0.6044 GB, free: 1.078 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004321/0.8591, allocations: 1.065 MB / 0.6055 GB, free: 12 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01034/0.8695, allocations: 2.507 MB / 0.6079 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002586/0.8722, allocations: 0.6763 MB / 0.6086 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8722, allocations: 7.938 kB / 0.6086 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.8734, allocations: 431.5 kB / 0.609 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/0.876, allocations: 308 kB / 0.6093 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.8891, allocations: 5.392 MB / 0.6146 GB, free: 6.598 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/0.89, allocations: 0.9987 MB / 0.6155 GB, free: 5.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00135/0.8914, allocations: 387.7 kB / 0.6159 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/0.8921, allocations: 307.3 kB / 0.6162 GB, free: 4.891 MB / 494.1 MB Notification: Performance of SimCode: time 9.61e-07/0.8921, allocations: 0 / 0.6162 GB, free: 4.891 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4401/1.332, allocations: 45.4 MB / 0.6605 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/1.332, allocations: 166.2 kB / 0.6607 GB, free: 147.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.893/7.226, allocations: 6.234 kB / 0.6607 GB, free: 147.3 MB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestJoin_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestJoin.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) Environment - environmentSimulation: