Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.0009708/0.0009707, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009806/0.0009807, allocations: 179.2 kB / 16.57 MB, free: 6.844 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.758/1.758, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4184/0.4184, allocations: 43.54 MB / 314.5 MB, free: 8.832 MB / 254.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.0005587/0.0005588, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1558, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.3284/0.4842, allocations: 18.21 MB / 461.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008518/0.4928, allocations: 5.842 MB / 466.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.4939, allocations: 22.47 kB / 466.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008658/0.4948, allocations: 254.4 kB / 467.2 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.4991, allocations: 1.442 MB / 468.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003567/0.5027, allocations: 1.211 MB / 469.8 MB, free: 36.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002223/0.5049, allocations: 1.056 MB / 470.9 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006226/0.5056, allocations: 404.4 kB / 471.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004853/0.5104, allocations: 2.799 MB / 474.1 MB, free: 35.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.5126, allocations: 1.071 MB / 475.1 MB, free: 35.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.5128, allocations: 32.69 kB / 475.2 MB, free: 35.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/0.5163, allocations: 1.265 MB / 476.4 MB, free: 34.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004326/0.5168, allocations: 219.5 kB / 476.7 MB, free: 34.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004563/0.5172, allocations: 163.5 kB / 476.8 MB, free: 34.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.5197, allocations: 1.047 MB / 477.9 MB, free: 34.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5197, allocations: 0 / 477.9 MB, free: 34.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5197, allocations: 0 / 477.9 MB, free: 34.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.361e-05/0.5197, allocations: 0 / 477.9 MB, free: 34.6 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002633/0.5224, allocations: 1.004 MB / 478.9 MB, free: 33.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.5224, allocations: 10.38 kB / 478.9 MB, free: 33.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.5226, allocations: 100.7 kB / 479 MB, free: 33.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5236, allocations: 139.4 kB / 479.1 MB, free: 33.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008623/0.5245, allocations: 0.5085 MB / 479.6 MB, free: 33.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5246, allocations: 103 kB / 479.7 MB, free: 33.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.805e-05/0.5247, allocations: 52.61 kB / 479.8 MB, free: 33.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.526, allocations: 0.8251 MB / 480.6 MB, free: 32.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.526, allocations: 3.938 kB / 480.6 MB, free: 32.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.5261, allocations: 24.81 kB / 480.6 MB, free: 32.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-05/0.5262, allocations: 38.75 kB / 480.7 MB, free: 32.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.5272, allocations: 0.6097 MB / 481.3 MB, free: 32.65 MB / 382.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.00433/0.5316, allocations: 4.648 MB / 485.9 MB, free: 28.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/0.5322, allocations: 326.4 kB / 486.2 MB, free: 28.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/0.5324, allocations: 343.8 kB / 486.6 MB, free: 28.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.5324, allocations: 47.44 kB / 486.6 MB, free: 28.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.5324, allocations: 0 / 486.6 MB, free: 28.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003974/0.5364, allocations: 1.527 MB / 488.2 MB, free: 27.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.5365, allocations: 134.5 kB / 488.3 MB, free: 27.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000748/0.5372, allocations: 0.6475 MB / 488.9 MB, free: 26.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.5373, allocations: 36.7 kB / 489 MB, free: 26.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.5375, allocations: 393.4 kB / 489.4 MB, free: 26.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.554e-05/0.5376, allocations: 139.3 kB / 489.5 MB, free: 26.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.5376, allocations: 15.03 kB / 489.5 MB, free: 26.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.5378, allocations: 376.5 kB / 489.9 MB, free: 26.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.5381, allocations: 198.5 kB / 490.1 MB, free: 26.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.5385, allocations: 0.4957 MB / 490.6 MB, free: 25.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.5389, allocations: 293.1 kB / 490.8 MB, free: 25.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5389, allocations: 2.969 kB / 490.8 MB, free: 25.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001342/0.5402, allocations: 0.8611 MB / 491.7 MB, free: 25.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.5403, allocations: 12.5 kB / 491.7 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.5403, allocations: 11.09 kB / 491.7 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.5417, allocations: 296.6 kB / 492 MB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.5421, allocations: 123.8 kB / 492.1 MB, free: 25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.5432, allocations: 1.397 MB / 493.5 MB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.5438, allocations: 35.8 kB / 493.6 MB, free: 23.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-05/0.5439, allocations: 46.31 kB / 493.6 MB, free: 23.79 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004039/0.5443, allocations: 245.3 kB / 493.9 MB, free: 23.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5445, allocations: 70.28 kB / 493.9 MB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.5463, allocations: 0.6535 MB / 494.6 MB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.5463, allocations: 3.594 kB / 494.6 MB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.5463, allocations: 0.7969 kB / 494.6 MB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.5464, allocations: 2.797 kB / 494.6 MB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.549, allocations: 1.228 MB / 495.8 MB, free: 22.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5491, allocations: 4.969 kB / 495.8 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.5493, allocations: 39.12 kB / 495.9 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009948/0.5503, allocations: 213.2 kB / 496.1 MB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.5503, allocations: 15.19 kB / 496.1 MB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009252/0.5512, allocations: 1.297 MB / 497.4 MB, free: 21.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5513, allocations: 1 kB / 497.4 MB, free: 21.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.5528, allocations: 0.8315 MB / 498.2 MB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/0.5533, allocations: 200.4 kB / 498.4 MB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5534, allocations: 7.375 kB / 498.4 MB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/0.5538, allocations: 27.69 kB / 498.4 MB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.361e-05/0.5539, allocations: 28.34 kB / 498.5 MB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.554, allocations: 31.28 kB / 498.5 MB, free: 20.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000717/0.5547, allocations: 448.3 kB / 498.9 MB, free: 20.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5547, allocations: 0 / 498.9 MB, free: 20.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001275/0.556, allocations: 288.9 kB / 499.2 MB, free: 20.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002593/0.5586, allocations: 1.769 MB / 0.4892 GB, free: 19.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.5599, allocations: 0.5115 MB / 0.4897 GB, free: 19.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.56, allocations: 0 / 0.4897 GB, free: 19.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005444/0.5605, allocations: 217.6 kB / 0.49 GB, free: 19.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.5623, allocations: 301.1 kB / 0.4902 GB, free: 19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.5728, allocations: 10.34 MB / 0.5003 GB, free: 26.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008951/0.5737, allocations: 0.9515 MB / 0.5013 GB, free: 25.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001126/0.5749, allocations: 209.9 kB / 0.5015 GB, free: 25.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/0.5753, allocations: 235.2 kB / 0.5017 GB, free: 25.58 MB / 398.1 MB Notification: Performance of SimCode: time 2.444e-06/0.5753, allocations: 0 / 0.5017 GB, free: 25.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04957/0.6249, allocations: 21.5 MB / 0.5227 GB, free: 13.31 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003907/0.6253, allocations: 276.1 kB / 0.5229 GB, free: 12.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.083, allocations: 0 / 0.5229 GB, free: 12.96 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat