Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 96.89 kB / 16.99 MB, free: 6.402 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.001546/0.001546, allocations: 178.7 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1981/0.1981, allocations: 44.23 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 8 kB / 409.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1058, allocations: 61.92 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01353/0.1193, allocations: 14.2 MB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005577/0.125, allocations: 4.079 MB / 489.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007308/0.1257, allocations: 23.75 kB / 489.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007783/0.1265, allocations: 274.6 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.1283, allocations: 0.697 MB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.1301, allocations: 0.6874 MB / 491.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.1315, allocations: 1.028 MB / 492.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005696/0.1321, allocations: 381.3 kB / 492.9 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.1333, allocations: 0.6386 MB / 493.6 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005539/0.1338, allocations: 426.5 kB / 494 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.1339, allocations: 32 kB / 494 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006534/0.1346, allocations: 227.8 kB / 494.2 MB, free: 6.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.1349, allocations: 215.4 kB / 494.4 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.1351, allocations: 173.3 kB / 494.6 MB, free: 6.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008011/0.1359, allocations: 0.7639 MB / 495.4 MB, free: 5.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1359, allocations: 0 / 495.4 MB, free: 5.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1359, allocations: 4 kB / 495.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.1359, allocations: 0 / 495.4 MB, free: 5.723 MB / 366.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.001984/0.1379, allocations: 0.9193 MB / 496.3 MB, free: 4.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1379, allocations: 12.03 kB / 496.3 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.1381, allocations: 102.5 kB / 496.4 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.1384, allocations: 91.05 kB / 496.5 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.1392, allocations: 492.6 kB / 497 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.1394, allocations: 104.4 kB / 497.1 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.117e-05/0.1395, allocations: 44 kB / 497.1 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.1406, allocations: 0.8143 MB / 497.9 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.1406, allocations: 8 kB / 497.9 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/0.1407, allocations: 23.98 kB / 498 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-05/0.1408, allocations: 40.92 kB / 498 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000971/0.1418, allocations: 0.6439 MB / 498.6 MB, free: 2.262 MB / 366.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.004544/0.1463, allocations: 4.233 MB / 0.4911 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/0.1471, allocations: 419.9 kB / 0.4915 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004947/0.1476, allocations: 0.5029 MB / 0.492 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1477, allocations: 38.89 kB / 0.492 GB, free: 12.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.1477, allocations: 0 / 0.492 GB, free: 12.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.00298/0.1507, allocations: 1.519 MB / 0.4935 GB, free: 11.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.1507, allocations: 132.5 kB / 0.4936 GB, free: 10.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.1514, allocations: 0.5653 MB / 0.4942 GB, free: 10.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.1514, allocations: 37.7 kB / 0.4942 GB, free: 10.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.1517, allocations: 351 kB / 0.4946 GB, free: 9.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.1518, allocations: 169.7 kB / 0.4947 GB, free: 9.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1519, allocations: 12 kB / 0.4947 GB, free: 9.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.152, allocations: 378.8 kB / 0.4951 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.1524, allocations: 217.9 kB / 0.4953 GB, free: 9.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.1529, allocations: 0.5162 MB / 0.4958 GB, free: 8.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/0.1533, allocations: 312.6 kB / 0.4961 GB, free: 8.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1534, allocations: 7.891 kB / 0.4961 GB, free: 8.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001783/0.1551, allocations: 0.9648 MB / 0.497 GB, free: 7.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1552, allocations: 16 kB / 0.4971 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1552, allocations: 8 kB / 0.4971 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.1563, allocations: 260.6 kB / 0.4973 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.1567, allocations: 127.8 kB / 0.4974 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009571/0.1577, allocations: 0.867 MB / 0.4983 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.1582, allocations: 39.98 kB / 0.4983 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.1583, allocations: 39.98 kB / 0.4984 GB, free: 5.871 MB / 382.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.0003437/0.1586, allocations: 253.5 kB / 0.4986 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.1588, allocations: 75.11 kB / 0.4987 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.1601, allocations: 0.7121 MB / 0.4994 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.1601, allocations: 8 kB / 0.4994 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1601, allocations: 0 / 0.4994 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1601, allocations: 3.984 kB / 0.4994 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.1623, allocations: 1.407 MB / 0.5008 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1623, allocations: 0 / 0.5008 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009754/0.1633, allocations: 200 kB / 0.5009 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/0.1636, allocations: 68.75 kB / 0.501 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.1636, allocations: 12 kB / 0.501 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2129/0.3765, allocations: 2.798 MB / 0.5038 GB, free: 49.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.3765, allocations: 4.5 kB / 0.5038 GB, free: 49.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.3788, allocations: 1.072 MB / 0.5048 GB, free: 48.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.3793, allocations: 214.9 kB / 0.505 GB, free: 48.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.3795, allocations: 17.55 kB / 0.505 GB, free: 48.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.38, allocations: 26.77 kB / 0.5051 GB, free: 48.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3801, allocations: 39.11 kB / 0.5051 GB, free: 48.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.3802, allocations: 22.72 kB / 0.5051 GB, free: 48.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006402/0.3809, allocations: 390.8 kB / 0.5055 GB, free: 48.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3809, allocations: 0 / 0.5055 GB, free: 48.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009824/0.3819, allocations: 206.8 kB / 0.5057 GB, free: 48.56 MB / 382.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.002475/0.3843, allocations: 2.221 MB / 0.5079 GB, free: 47.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.3855, allocations: 0.6032 MB / 0.5084 GB, free: 47.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.3856, allocations: 4.469 kB / 0.5084 GB, free: 47.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.3867, allocations: 481.3 kB / 0.5089 GB, free: 47.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.3884, allocations: 322.8 kB / 0.5092 GB, free: 47.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007561/0.3959, allocations: 10.5 MB / 0.5195 GB, free: 38.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.3964, allocations: 0.9514 MB / 0.5204 GB, free: 37.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008574/0.3973, allocations: 203.4 kB / 0.5206 GB, free: 37.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.3976, allocations: 234 kB / 0.5208 GB, free: 37.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3976, allocations: 4 kB / 0.5208 GB, free: 37.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.433, allocations: 19.97 MB / 0.5403 GB, free: 25.7 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.4332, allocations: 294.8 kB / 0.5406 GB, free: 25.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.731, allocations: 3.75 kB / 0.5406 GB, free: 25.34 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat