Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.001002/0.001002, allocations: 96.7 kB / 15.7 MB, free: 468 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.001342/0.001342, allocations: 172 kB / 16.58 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.597/1.597, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3957/0.3957, allocations: 43.54 MB / 314.6 MB, free: 8.785 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.0005513/0.0005513, allocations: 20 kB / 384 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1227, allocations: 58.84 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.1985/0.3212, allocations: 15.53 MB / 458.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007771/0.3291, allocations: 5.201 MB / 463.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008959/0.33, allocations: 27.66 kB / 463.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.331, allocations: 258.1 kB / 463.9 MB, free: 36.47 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002443/0.3335, allocations: 0.7777 MB / 464.7 MB, free: 36.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.3358, allocations: 0.7743 MB / 465.4 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.338, allocations: 2.196 MB / 467.6 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.3386, allocations: 375.5 kB / 468 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.3398, allocations: 0.6517 MB / 468.7 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009718/0.3408, allocations: 0.6098 MB / 469.3 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.341, allocations: 29.59 kB / 469.3 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008068/0.3418, allocations: 212.8 kB / 469.5 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.3421, allocations: 229.1 kB / 469.7 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.3424, allocations: 164.5 kB / 469.9 MB, free: 35.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008996/0.3433, allocations: 0.7882 MB / 470.7 MB, free: 35.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3433, allocations: 3.938 kB / 470.7 MB, free: 35.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3433, allocations: 0 / 470.7 MB, free: 35.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.921e-05/0.3433, allocations: 0 / 470.7 MB, free: 35.44 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001747/0.3451, allocations: 0.9121 MB / 471.6 MB, free: 34.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3451, allocations: 13.11 kB / 471.6 MB, free: 34.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.3453, allocations: 97.81 kB / 471.7 MB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/0.3456, allocations: 85.2 kB / 471.8 MB, free: 34.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.3463, allocations: 0.501 MB / 472.3 MB, free: 34.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.642e-05/0.3464, allocations: 101.7 kB / 472.4 MB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.3465, allocations: 50.03 kB / 472.4 MB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009944/0.3475, allocations: 0.829 MB / 473.3 MB, free: 34.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.3475, allocations: 8.281 kB / 473.3 MB, free: 34.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/0.3476, allocations: 19.78 kB / 473.3 MB, free: 34.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/0.3476, allocations: 38.33 kB / 473.3 MB, free: 34.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.3485, allocations: 0.6402 MB / 474 MB, free: 34.16 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.003244/0.3517, allocations: 4.341 MB / 478.3 MB, free: 31.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.3522, allocations: 345.3 kB / 478.6 MB, free: 31.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.3524, allocations: 172.9 kB / 478.8 MB, free: 31.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.3537, allocations: 1.709 MB / 480.5 MB, free: 29.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.3538, allocations: 37.12 kB / 480.6 MB, free: 29.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.3538, allocations: 0 / 480.6 MB, free: 29.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.002878/0.3567, allocations: 1.403 MB / 482 MB, free: 28.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.3567, allocations: 135.6 kB / 482.1 MB, free: 28.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006414/0.3574, allocations: 0.6277 MB / 482.7 MB, free: 28.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3574, allocations: 32.61 kB / 482.8 MB, free: 28.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.3576, allocations: 391.6 kB / 483.1 MB, free: 27.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.671e-05/0.3577, allocations: 137.3 kB / 483.3 MB, free: 27.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.3578, allocations: 15.03 kB / 483.3 MB, free: 27.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.3578, allocations: 381.4 kB / 483.7 MB, free: 27.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.3581, allocations: 181.5 kB / 483.8 MB, free: 27.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/0.3586, allocations: 0.5487 MB / 484.4 MB, free: 26.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.359, allocations: 305.3 kB / 484.7 MB, free: 26.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.359, allocations: 6.5 kB / 484.7 MB, free: 26.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001238/0.3603, allocations: 0.8265 MB / 485.5 MB, free: 26.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3603, allocations: 9.938 kB / 485.5 MB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.3603, allocations: 13.62 kB / 485.5 MB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003566/0.3607, allocations: 97.69 kB / 485.6 MB, free: 26.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.3613, allocations: 177 kB / 485.8 MB, free: 26.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003918/0.3617, allocations: 0.6695 MB / 486.5 MB, free: 25.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.3622, allocations: 38.3 kB / 486.5 MB, free: 25.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.3622, allocations: 48.91 kB / 486.6 MB, free: 25.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.3625, allocations: 258.5 kB / 486.8 MB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.3626, allocations: 69.66 kB / 486.9 MB, free: 25.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006847/0.3633, allocations: 0.5011 MB / 487.4 MB, free: 25.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3633, allocations: 4.062 kB / 487.4 MB, free: 25.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3633, allocations: 4 kB / 487.4 MB, free: 25.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3633, allocations: 3.328 kB / 487.4 MB, free: 25.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.3647, allocations: 1.211 MB / 488.6 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3647, allocations: 2.938 kB / 488.6 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.365, allocations: 72.22 kB / 488.7 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/0.3651, allocations: 39.33 kB / 488.7 MB, free: 24.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.3652, allocations: 20.56 kB / 488.7 MB, free: 24.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002042/0.3654, allocations: 0.562 MB / 489.3 MB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.3654, allocations: 6.844 kB / 489.3 MB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.3661, allocations: 0.7267 MB / 490 MB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.3663, allocations: 189.2 kB / 490.2 MB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-05/0.3664, allocations: 10.03 kB / 490.2 MB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.3668, allocations: 33.73 kB / 490.3 MB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.3668, allocations: 37.81 kB / 490.3 MB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.3669, allocations: 20.53 kB / 490.3 MB, free: 23.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004125/0.3673, allocations: 450.3 kB / 490.8 MB, free: 23.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3673, allocations: 0 / 490.8 MB, free: 23.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006994/0.368, allocations: 198.7 kB / 491 MB, free: 23.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (36): * Single equations (assignments): 35 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.3692, allocations: 1.382 MB / 492.3 MB, free: 22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007932/0.37, allocations: 0.4984 MB / 492.8 MB, free: 21.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3701, allocations: 0 / 492.8 MB, free: 21.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.3704, allocations: 177.1 kB / 493 MB, free: 21.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.3718, allocations: 320.1 kB / 493.3 MB, free: 21.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/0.3789, allocations: 4.143 MB / 497.5 MB, free: 19.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.3795, allocations: 0.9422 MB / 498.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009183/0.3804, allocations: 199 kB / 498.6 MB, free: 18.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.3807, allocations: 229.9 kB / 498.8 MB, free: 18.36 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3808, allocations: 0 / 498.8 MB, free: 18.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04497/0.4257, allocations: 18.49 MB / 0.5052 GB, free: 12.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.4259, allocations: 293.1 kB / 0.5055 GB, free: 12.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.459, allocations: 7.938 kB / 0.5055 GB, free: 12.27 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat