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.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001768/0.001768, allocations: 122.5 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001738/0.001738, allocations: 202 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.389/1.389, allocations: 227.4 MB / 247 MB, free: 10.39 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.2217/0.2217, allocations: 46.12 MB / 344.4 MB, free: 11.36 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.002316/0.002316, allocations: 83.84 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3205, allocations: 62.43 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0223/0.3429, allocations: 20.37 MB / 0.5505 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006334/0.3492, allocations: 4.291 MB / 0.5547 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005501/0.3498, allocations: 19.88 kB / 0.5547 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008915/0.3508, allocations: 310 kB / 0.555 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.3526, allocations: 0.8511 MB / 0.5558 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.3548, allocations: 0.9063 MB / 0.5567 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002066/0.3569, allocations: 1.797 MB / 0.5585 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006567/0.3575, allocations: 461.4 kB / 0.5589 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.3592, allocations: 0.9301 MB / 0.5598 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009128/0.3601, allocations: 0.6383 MB / 0.5604 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.3603, allocations: 60 kB / 0.5605 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000775/0.3611, allocations: 307.6 kB / 0.5608 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002752/0.3613, allocations: 255.3 kB / 0.561 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.3618, allocations: 394.2 kB / 0.5614 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.3632, allocations: 1.101 MB / 0.5625 GB, free: 1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3632, allocations: 0 / 0.5625 GB, free: 1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3632, allocations: 0 / 0.5625 GB, free: 1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3632, allocations: 4 kB / 0.5625 GB, free: 0.9961 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002142/0.3653, allocations: 1.063 MB / 0.5635 GB, free: 15.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3654, allocations: 12.03 kB / 0.5635 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.3655, allocations: 94.7 kB / 0.5636 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.3659, allocations: 96.41 kB / 0.5637 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.3669, allocations: 0.537 MB / 0.5642 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.3671, allocations: 104.9 kB / 0.5643 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.3673, allocations: 60.02 kB / 0.5644 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.3693, allocations: 0.8175 MB / 0.5652 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.3693, allocations: 7.938 kB / 0.5652 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.3694, allocations: 20 kB / 0.5652 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.181e-05/0.3695, allocations: 40.97 kB / 0.5653 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.3713, allocations: 0.6439 MB / 0.5659 GB, free: 13.32 MB / 430.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.006152/0.3775, allocations: 4.21 MB / 0.57 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008908/0.3784, allocations: 422.4 kB / 0.5704 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/0.379, allocations: 205.4 kB / 0.5706 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007785/0.3797, allocations: 0.5029 MB / 0.5711 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.3798, allocations: 34.89 kB / 0.5711 GB, free: 7.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 3.156e-06/0.3798, allocations: 0 / 0.5711 GB, free: 7.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.004872/0.3847, allocations: 1.545 MB / 0.5726 GB, free: 5.945 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/0.3848, allocations: 132.5 kB / 0.5728 GB, free: 5.785 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.3859, allocations: 0.5732 MB / 0.5733 GB, free: 5.199 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/0.386, allocations: 37.7 kB / 0.5734 GB, free: 5.156 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.3864, allocations: 359.9 kB / 0.5737 GB, free: 4.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.3867, allocations: 174.6 kB / 0.5739 GB, free: 4.629 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.387, allocations: 134.6 kB / 0.574 GB, free: 4.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002694/0.3873, allocations: 378.7 kB / 0.5744 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.3878, allocations: 229.8 kB / 0.5746 GB, free: 3.891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009128/0.3888, allocations: 0.5201 MB / 0.5751 GB, free: 3.234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.3905, allocations: 0.7796 MB / 0.5759 GB, free: 2.328 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.3905, allocations: 8 kB / 0.5759 GB, free: 2.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002824/0.3933, allocations: 0.9417 MB / 0.5768 GB, free: 1.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.3934, allocations: 8 kB / 0.5768 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.3934, allocations: 8 kB / 0.5768 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.395, allocations: 264.8 kB / 0.577 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.3957, allocations: 131.8 kB / 0.5772 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.3971, allocations: 0.8684 MB / 0.578 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.3975, allocations: 27.98 kB / 0.578 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/0.3976, allocations: 32 kB / 0.5781 GB, free: 12 kB / 430.1 MB 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.0003536/0.398, allocations: 245.5 kB / 0.5783 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3981, allocations: 71.56 kB / 0.5784 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.3994, allocations: 0.7118 MB / 0.5791 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.3995, allocations: 8 kB / 0.5791 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3995, allocations: 0 / 0.5791 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3995, allocations: 3.984 kB / 0.5791 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.4019, allocations: 1.401 MB / 0.5805 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.402, allocations: 4.219 kB / 0.5805 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.4033, allocations: 195.7 kB / 0.5806 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003334/0.4037, allocations: 64.77 kB / 0.5807 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-05/0.4037, allocations: 12 kB / 0.5807 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003537/0.4073, allocations: 2.987 MB / 0.5836 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.4073, allocations: 4.031 kB / 0.5836 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.4097, allocations: 1.001 MB / 0.5846 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/0.4101, allocations: 204.5 kB / 0.5848 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.4103, allocations: 16 kB / 0.5848 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.4108, allocations: 15.98 kB / 0.5848 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4109, allocations: 47.89 kB / 0.5849 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.411, allocations: 19.98 kB / 0.5849 GB, free: 8.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007459/0.4118, allocations: 415.1 kB / 0.5853 GB, free: 8.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.395e-06/0.4118, allocations: 0 / 0.5853 GB, free: 8.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001106/0.4129, allocations: 219.7 kB / 0.5855 GB, free: 7.953 MB / 446.1 MB 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.003151/0.4161, allocations: 1.677 MB / 0.5872 GB, free: 6.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.4178, allocations: 0.608 MB / 0.5877 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4179, allocations: 0 / 0.5877 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.4195, allocations: 491.3 kB / 0.5882 GB, free: 5.137 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.422, allocations: 371.3 kB / 0.5886 GB, free: 4.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.4364, allocations: 6.563 MB / 0.595 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000988/0.4374, allocations: 0.9307 MB / 0.5959 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001046/0.4385, allocations: 210.9 kB / 0.5961 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/0.439, allocations: 231.4 kB / 0.5963 GB, free: 12.46 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.439, allocations: 0 / 0.5963 GB, free: 12.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05748/0.4965, allocations: 22.2 MB / 0.618 GB, free: 6.582 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/13.92, allocations: 8.297 kB / 0.618 GB, free: 6.574 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)