Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.TestValves,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValves,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValves",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.0007876/0.0007876, allocations: 92.25 kB / 16.65 MB, free: 6.59 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.0008563/0.0008563, allocations: 182.4 kB / 17.56 MB, free: 6.203 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.089/1.089, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2152/0.2152, allocations: 48.79 MB / 320.8 MB, free: 11.11 MB / 270.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.0004503/0.0004502, allocations: 14.02 kB / 391.9 MB, free: 50.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07218/0.07264, allocations: 60.27 MB / 452.2 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.05541/0.1281, allocations: 70.64 MB / 0.5106 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.1411, allocations: 12.51 MB / 0.5228 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004024/0.1415, allocations: 23.81 kB / 0.5228 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.1423, allocations: 342 kB / 0.5231 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007747/0.1431, allocations: 0.4892 MB / 0.5236 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009595/0.1527, allocations: 4.536 MB / 0.5281 GB, free: 248 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.1658/0.3186, allocations: 1.816 MB / 0.5298 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008135/0.3194, allocations: 479.3 kB / 0.5303 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009104/0.3203, allocations: 488.8 kB / 0.5307 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009388/0.3213, allocations: 0.5675 MB / 0.5313 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.3214, allocations: 39.94 kB / 0.5313 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.3316, allocations: 6.407 MB / 0.5376 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.3318, allocations: 136.4 kB / 0.5377 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005103/0.3323, allocations: 437.5 kB / 0.5381 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004941/0.3373, allocations: 4.289 MB / 0.5423 GB, free: 10.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3373, allocations: 0 / 0.5423 GB, free: 10.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3373, allocations: 2.25 kB / 0.5423 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.3373, allocations: 4.172 kB / 0.5423 GB, free: 10.62 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.004264/0.3416, allocations: 1.656 MB / 0.544 GB, free: 9.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3416, allocations: 8.969 kB / 0.544 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.879e-05/0.3417, allocations: 96.09 kB / 0.5441 GB, free: 9.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.3421, allocations: 127.9 kB / 0.5442 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.3426, allocations: 0.5577 MB / 0.5447 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.3427, allocations: 39.69 kB / 0.5448 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3428, allocations: 52.09 kB / 0.5448 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.3443, allocations: 0.8509 MB / 0.5456 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3444, allocations: 1.062 kB / 0.5456 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.386e-05/0.3444, allocations: 24.19 kB / 0.5457 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3444, allocations: 12.94 kB / 0.5457 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.3462, allocations: 0.8654 MB / 0.5465 GB, free: 9.309 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.3488, allocations: 3.542 MB / 0.55 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009427/0.3497, allocations: 424.3 kB / 0.5504 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.3501, allocations: 219.3 kB / 0.5506 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05347/0.4036, allocations: 32.3 MB / 0.5821 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.4037, allocations: 36.88 kB / 0.5822 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006107/0.4043, allocations: 102.9 kB / 0.5823 GB, free: 15.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.4043, allocations: 0 / 0.5823 GB, free: 15.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.007481/0.4118, allocations: 1.871 MB / 0.5841 GB, free: 14.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.4118, allocations: 59.23 kB / 0.5842 GB, free: 14.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/0.4124, allocations: 0.6229 MB / 0.5848 GB, free: 14.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.4124, allocations: 33.02 kB / 0.5848 GB, free: 14.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.4126, allocations: 333.4 kB / 0.5851 GB, free: 13.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.4127, allocations: 112.4 kB / 0.5852 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.4128, allocations: 34.95 kB / 0.5853 GB, free: 13.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.4129, allocations: 328.2 kB / 0.5856 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.4132, allocations: 170.1 kB / 0.5857 GB, free: 13.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.4136, allocations: 231.5 kB / 0.5859 GB, free: 13.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/0.4144, allocations: 414.8 kB / 0.5863 GB, free: 13.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4144, allocations: 2.688 kB / 0.5863 GB, free: 13.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00121/0.4156, allocations: 0.6574 MB / 0.587 GB, free: 13.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.079e-05/0.4157, allocations: 126.2 kB / 0.5871 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.4157, allocations: 11.22 kB / 0.5871 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007175/0.4229, allocations: 1.199 MB / 0.5883 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.4231, allocations: 49.44 kB / 0.5883 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.4246, allocations: 0.9669 MB / 0.5893 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.4251, allocations: 57.17 kB / 0.5893 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.4252, allocations: 17.8 kB / 0.5894 GB, free: 11.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.54e-06/0.4252, allocations: 2.688 kB / 0.5894 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001004/0.4262, allocations: 467.7 kB / 0.5898 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4262, allocations: 4 kB / 0.5898 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002586/0.4265, allocations: 68.52 kB / 0.5899 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.4269, allocations: 99.55 kB / 0.59 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.4281, allocations: 1.458 MB / 0.5914 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.4285, allocations: 47.69 kB / 0.5914 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.4286, allocations: 15.86 kB / 0.5914 GB, free: 10.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.4288, allocations: 254.9 kB / 0.5917 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.276e-05/0.4289, allocations: 79.06 kB / 0.5918 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.4311, allocations: 2.064 MB / 0.5938 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.4312, allocations: 19.91 kB / 0.5938 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.4312, allocations: 3.938 kB / 0.5938 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4312, allocations: 6.609 kB / 0.5938 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008056/0.432, allocations: 0.937 MB / 0.5947 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.432, allocations: 0 / 0.5947 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.4322, allocations: 46.09 kB / 0.5948 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005038/0.4372, allocations: 2.771 MB / 0.5975 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.4373, allocations: 16.3 kB / 0.5975 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.4391, allocations: 2.066 MB / 0.5995 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4391, allocations: 0 / 0.5995 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.441, allocations: 1.786 MB / 0.6013 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.4411, allocations: 182.1 kB / 0.6014 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.4412, allocations: 11.44 kB / 0.6014 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.4416, allocations: 52.31 kB / 0.6015 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.4417, allocations: 35.88 kB / 0.6015 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.4417, allocations: 11.69 kB / 0.6015 GB, free: 2.215 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004002/0.4421, allocations: 448.4 kB / 0.602 GB, free: 1.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4421, allocations: 0 / 0.602 GB, free: 1.887 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002976/0.4451, allocations: 1.097 MB / 0.603 GB, free: 0.8398 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004821/0.4499, allocations: 2.81 MB / 0.6058 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.4522, allocations: 0.9741 MB / 0.6067 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4522, allocations: 0 / 0.6067 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008434/0.4531, allocations: 0.4916 MB / 0.6072 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.455, allocations: 416.8 kB / 0.6076 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008171/0.4632, allocations: 6.704 MB / 0.6142 GB, free: 7.379 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.4637, allocations: 0.9984 MB / 0.6151 GB, free: 6.355 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004656/0.4642, allocations: 268.2 kB / 0.6154 GB, free: 6.094 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.4644, allocations: 308.6 kB / 0.6157 GB, free: 6.031 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4644, allocations: 2.734 kB / 0.6157 GB, free: 6.031 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06993/0.5343, allocations: 51.42 MB / 0.6659 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.5346, allocations: 223.9 kB / 0.6661 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.747/4.281, allocations: 3.938 kB / 0.6661 GB, free: 2.512 MB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestValves_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestValves.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1)