Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_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.001106/0.001106, allocations: 99.8 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 199.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 4 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 63.46 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04229/0.1763, allocations: 34.55 MB / 0.504 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2358/0.4122, allocations: 4.12 MB / 0.508 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008195/0.4131, allocations: 26.19 kB / 0.508 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.4139, allocations: 268.3 kB / 0.5083 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.4159, allocations: 0.7034 MB / 0.509 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.4179, allocations: 0.6953 MB / 0.5097 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.4195, allocations: 1.025 MB / 0.5107 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007463/0.4203, allocations: 382.5 kB / 0.511 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1298/0.5501, allocations: 72.44 MB / 0.5818 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02333/0.5734, allocations: 13.32 MB / 0.5948 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002467/0.5737, allocations: 36 kB / 0.5948 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03143/0.6052, allocations: 18.48 MB / 0.6129 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005359/0.6057, allocations: 220.8 kB / 0.6131 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.6061, allocations: 164.1 kB / 0.6132 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009963/0.6071, allocations: 0.7602 MB / 0.614 GB, free: 11.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.6071, allocations: 0 / 0.614 GB, free: 11.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6071, allocations: 0 / 0.614 GB, free: 11.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.6071, allocations: 0 / 0.614 GB, free: 11.18 MB / 462.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.001836/0.609, allocations: 0.9293 MB / 0.6149 GB, free: 10.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.609, allocations: 8.562 kB / 0.6149 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.6092, allocations: 100.9 kB / 0.615 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.6095, allocations: 87.14 kB / 0.6151 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.6102, allocations: 0.491 MB / 0.6155 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/0.6103, allocations: 99.97 kB / 0.6156 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.6104, allocations: 48.42 kB / 0.6157 GB, free: 9.547 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.6115, allocations: 0.8253 MB / 0.6165 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.6115, allocations: 1.438 kB / 0.6165 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.6116, allocations: 21.56 kB / 0.6165 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/0.6116, allocations: 41.34 kB / 0.6165 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000938/0.6126, allocations: 0.6456 MB / 0.6172 GB, free: 8.422 MB / 462.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.004339/0.6169, allocations: 4.239 MB / 0.6213 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.6177, allocations: 417.3 kB / 0.6217 GB, free: 4.246 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004616/0.6182, allocations: 0.4944 MB / 0.6222 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.6182, allocations: 42.39 kB / 0.6222 GB, free: 3.602 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.605e-06/0.6182, allocations: 0 / 0.6222 GB, free: 3.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.002953/0.6212, allocations: 1.531 MB / 0.6237 GB, free: 2.426 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.6213, allocations: 136.5 kB / 0.6239 GB, free: 2.262 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/0.6219, allocations: 0.5652 MB / 0.6244 GB, free: 1.816 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.622, allocations: 35.95 kB / 0.6245 GB, free: 1.781 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.6222, allocations: 350.5 kB / 0.6248 GB, free: 1.531 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.6223, allocations: 164.4 kB / 0.6249 GB, free: 1.395 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.6224, allocations: 18.5 kB / 0.625 GB, free: 1.387 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6225, allocations: 371.7 kB / 0.6253 GB, free: 1.039 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.6229, allocations: 224 kB / 0.6255 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.6234, allocations: 0.5146 MB / 0.626 GB, free: 360 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.6239, allocations: 318.3 kB / 0.6263 GB, free: 120 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.6239, allocations: 4 kB / 0.6263 GB, free: 116 kB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001824/0.6257, allocations: 0.9628 MB / 0.6273 GB, free: 15.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.6258, allocations: 8 kB / 0.6273 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.6258, allocations: 12.81 kB / 0.6273 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.6269, allocations: 268.7 kB / 0.6276 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/0.6273, allocations: 126.7 kB / 0.6277 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009043/0.6283, allocations: 0.8684 MB / 0.6285 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.6288, allocations: 47.91 kB / 0.6286 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/0.6289, allocations: 32.5 kB / 0.6286 GB, free: 13.84 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003191/0.6292, allocations: 245.3 kB / 0.6288 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.6293, allocations: 67.16 kB / 0.6289 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.6306, allocations: 0.7201 MB / 0.6296 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.6306, allocations: 4 kB / 0.6296 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6306, allocations: 3.656 kB / 0.6296 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.6306, allocations: 8.734 kB / 0.6296 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.6328, allocations: 1.407 MB / 0.631 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6328, allocations: 0 / 0.631 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009382/0.6337, allocations: 197.3 kB / 0.6312 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002745/0.634, allocations: 56.78 kB / 0.6312 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.6341, allocations: 23.98 kB / 0.6313 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.6362, allocations: 2.802 MB / 0.634 GB, free: 8.031 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.6362, allocations: 8.422 kB / 0.634 GB, free: 8.027 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.6377, allocations: 1.072 MB / 0.635 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/0.6381, allocations: 208.2 kB / 0.6352 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/0.6382, allocations: 12 kB / 0.6353 GB, free: 6.641 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.6386, allocations: 35.98 kB / 0.6353 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.6387, allocations: 42.61 kB / 0.6353 GB, free: 6.566 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.6387, allocations: 19.98 kB / 0.6354 GB, free: 6.547 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004563/0.6392, allocations: 394.8 kB / 0.6357 GB, free: 6.164 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6392, allocations: 0 / 0.6357 GB, free: 6.164 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007854/0.64, allocations: 204 kB / 0.6359 GB, free: 5.965 MB / 478.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002142/0.6421, allocations: 2.227 MB / 0.6381 GB, free: 3.691 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.6432, allocations: 0.6057 MB / 0.6387 GB, free: 3.121 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6433, allocations: 0 / 0.6387 GB, free: 3.121 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.6443, allocations: 493.3 kB / 0.6392 GB, free: 2.641 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.6458, allocations: 326.5 kB / 0.6395 GB, free: 2.328 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007698/0.6535, allocations: 10.5 MB / 0.6497 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.654, allocations: 0.9519 MB / 0.6506 GB, free: 6.625 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007996/0.6548, allocations: 204.2 kB / 0.6508 GB, free: 6.438 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.6551, allocations: 235.4 kB / 0.6511 GB, free: 6.207 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6551, allocations: 0 / 0.6511 GB, free: 6.207 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.6904, allocations: 19.98 MB / 0.6706 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/0.6907, allocations: 288.4 kB / 0.6709 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.272/2.963, allocations: 4.062 kB / 0.6709 GB, free: 2.277 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat