Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001776/0.001776, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002133/0.002133, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247 MB, free: 10.43 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.2322/0.2322, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002215/0.002215, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3698, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05155/0.4214, allocations: 44.1 MB / 0.5737 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006464/0.4279, allocations: 4.374 MB / 0.578 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006132/0.4285, allocations: 23.81 kB / 0.578 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009275/0.4295, allocations: 314 kB / 0.5783 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.4315, allocations: 0.8511 MB / 0.5791 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.4339, allocations: 0.9099 MB / 0.58 GB, free: 15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002213/0.4361, allocations: 1.79 MB / 0.5817 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006413/0.4368, allocations: 465.3 kB / 0.5822 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1073/0.5441, allocations: 44.56 MB / 0.6257 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01962/0.5638, allocations: 7.967 MB / 0.6335 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.5641, allocations: 60 kB / 0.6335 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02659/0.5907, allocations: 10.68 MB / 0.644 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005788/0.5913, allocations: 267.3 kB / 0.6442 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000682/0.592, allocations: 390.2 kB / 0.6446 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.594, allocations: 1.094 MB / 0.6457 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.594, allocations: 0 / 0.6457 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.594, allocations: 0 / 0.6457 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.594, allocations: 0 / 0.6457 GB, free: 11.03 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00232/0.5963, allocations: 1.066 MB / 0.6467 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5964, allocations: 12.03 kB / 0.6467 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.5965, allocations: 102.6 kB / 0.6468 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.5969, allocations: 96.45 kB / 0.6469 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008903/0.5978, allocations: 0.533 MB / 0.6474 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.5979, allocations: 101 kB / 0.6475 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.552e-05/0.598, allocations: 51.94 kB / 0.6476 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.5994, allocations: 0.8208 MB / 0.6484 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.5994, allocations: 3.938 kB / 0.6484 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.5995, allocations: 27.98 kB / 0.6484 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-05/0.5996, allocations: 36.97 kB / 0.6484 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.6008, allocations: 0.6556 MB / 0.6491 GB, free: 7.34 MB / 0.4981 GB 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.00551/0.6063, allocations: 4.221 MB / 0.6532 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/0.6072, allocations: 419 kB / 0.6536 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.6076, allocations: 205.4 kB / 0.6538 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005792/0.6082, allocations: 0.5028 MB / 0.6543 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.6082, allocations: 34.89 kB / 0.6543 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.284e-06/0.6083, allocations: 7.938 kB / 0.6543 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003361/0.6116, allocations: 1.526 MB / 0.6558 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.715e-05/0.6117, allocations: 140.5 kB / 0.656 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007393/0.6125, allocations: 0.5693 MB / 0.6565 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.6125, allocations: 37.7 kB / 0.6566 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.6128, allocations: 359.8 kB / 0.6569 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.613, allocations: 174.5 kB / 0.6571 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.6132, allocations: 142.5 kB / 0.6572 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.6134, allocations: 378.7 kB / 0.6576 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.6138, allocations: 225.9 kB / 0.6578 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.6145, allocations: 0.5201 MB / 0.6583 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.6156, allocations: 0.7796 MB / 0.659 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6156, allocations: 7.938 kB / 0.6591 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001864/0.6175, allocations: 0.941 MB / 0.66 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.6175, allocations: 8.938 kB / 0.66 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.6175, allocations: 8 kB / 0.66 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.6186, allocations: 264.6 kB / 0.6602 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.6191, allocations: 131.8 kB / 0.6604 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.6201, allocations: 0.8567 MB / 0.6612 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.6206, allocations: 27.98 kB / 0.6612 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.6207, allocations: 36.06 kB / 0.6613 GB, free: 10.03 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003865/0.621, allocations: 253.5 kB / 0.6615 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.6212, allocations: 67.58 kB / 0.6616 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.6226, allocations: 0.713 MB / 0.6623 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.6226, allocations: 8 kB / 0.6623 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6226, allocations: 0 / 0.6623 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6227, allocations: 3.984 kB / 0.6623 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.6249, allocations: 1.404 MB / 0.6636 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.625, allocations: 4 kB / 0.6636 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009804/0.6259, allocations: 191.8 kB / 0.6638 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/0.6262, allocations: 57.02 kB / 0.6639 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.6263, allocations: 12 kB / 0.6639 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.629, allocations: 2.991 MB / 0.6668 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/0.629, allocations: 4.031 kB / 0.6668 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.6307, allocations: 1.001 MB / 0.6678 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.631, allocations: 204.6 kB / 0.668 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.6311, allocations: 16 kB / 0.668 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.6315, allocations: 19.98 kB / 0.668 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/0.6316, allocations: 35.89 kB / 0.6681 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.6316, allocations: 19.98 kB / 0.6681 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005871/0.6322, allocations: 419 kB / 0.6685 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6322, allocations: 0 / 0.6685 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007815/0.633, allocations: 211.9 kB / 0.6687 GB, free: 1.984 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002433/0.6355, allocations: 1.681 MB / 0.6703 GB, free: 264 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.6368, allocations: 0.6011 MB / 0.6709 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.6368, allocations: 4 kB / 0.6709 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.6381, allocations: 490 kB / 0.6714 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.6398, allocations: 378.8 kB / 0.6717 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.6499, allocations: 6.563 MB / 0.6782 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.6505, allocations: 0.9307 MB / 0.6791 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006964/0.6512, allocations: 218.6 kB / 0.6793 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.6516, allocations: 227.4 kB / 0.6795 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.6516, allocations: 0 / 0.6795 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05831/0.7099, allocations: 22.21 MB / 0.7012 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.88, allocations: 12.12 kB / 0.7012 GB, free: 0.5859 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)