Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.0009432/0.0009432, allocations: 98.77 kB / 17 MB, free: 6.086 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.001038/0.001038, allocations: 185.8 kB / 17.89 MB, free: 5.664 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.258/1.258, allocations: 223.2 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 44.23 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002924, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4529/0.5623, allocations: 173.9 MB / 0.6305 GB, free: 4.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.5735, allocations: 6.998 MB / 0.6373 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.5748, allocations: 23.81 kB / 0.6373 GB, free: 13.94 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.576, allocations: 314 kB / 0.6376 GB, free: 13.63 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00556/0.5816, allocations: 1.879 MB / 0.6395 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005852/0.5874, allocations: 1.664 MB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00435/0.5918, allocations: 2.648 MB / 0.6437 GB, free: 7.43 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.593, allocations: 497 kB / 0.6442 GB, free: 6.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004672/0.5977, allocations: 1.542 MB / 0.6457 GB, free: 5.383 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.5995, allocations: 0.8567 MB / 0.6465 GB, free: 4.523 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.5998, allocations: 44 kB / 0.6465 GB, free: 4.48 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009809/0.6096, allocations: 4.255 MB / 0.6507 GB, free: 224 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009873/0.6106, allocations: 383 kB / 0.6511 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004921/0.6111, allocations: 209.3 kB / 0.6513 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005208/0.6163, allocations: 2.463 MB / 0.6537 GB, free: 13.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.6164, allocations: 3.984 kB / 0.6537 GB, free: 13.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6164, allocations: 0 / 0.6537 GB, free: 13.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.6164, allocations: 0 / 0.6537 GB, free: 13.16 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003972/0.6204, allocations: 1.528 MB / 0.6552 GB, free: 11.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.6204, allocations: 8.562 kB / 0.6552 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/0.6206, allocations: 127.7 kB / 0.6553 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.621, allocations: 118.9 kB / 0.6554 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009605/0.622, allocations: 0.5668 MB / 0.656 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.6221, allocations: 117.4 kB / 0.6561 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.6222, allocations: 67.91 kB / 0.6561 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.6242, allocations: 1.158 MB / 0.6573 GB, free: 9.312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.6242, allocations: 11.94 kB / 0.6573 GB, free: 9.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/0.6243, allocations: 31.98 kB / 0.6573 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.49e-05/0.6244, allocations: 65.91 kB / 0.6574 GB, free: 9.207 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.6264, allocations: 1.155 MB / 0.6585 GB, free: 8.051 MB / 494.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.006897/0.6333, allocations: 4.974 MB / 0.6634 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.6351, allocations: 0.834 MB / 0.6642 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006573/0.6358, allocations: 418.3 kB / 0.6646 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/0.6372, allocations: 1.626 MB / 0.6662 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.6372, allocations: 43.12 kB / 0.6662 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 4.057e-06/0.6372, allocations: 4 kB / 0.6662 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01244/0.6497, allocations: 4.129 MB / 0.6702 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.6498, allocations: 111.5 kB / 0.6703 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008747/0.6507, allocations: 0.6601 MB / 0.671 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.6508, allocations: 45.7 kB / 0.671 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.6511, allocations: 383.6 kB / 0.6714 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.6513, allocations: 291.8 kB / 0.6717 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.6514, allocations: 16 kB / 0.6717 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.6516, allocations: 390.8 kB / 0.6721 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009648/0.6526, allocations: 0.4899 MB / 0.6725 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.6538, allocations: 0.7562 MB / 0.6733 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.6549, allocations: 0.5847 MB / 0.6738 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.6549, allocations: 8 kB / 0.6739 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003446/0.6584, allocations: 1.688 MB / 0.6755 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.6584, allocations: 14.34 kB / 0.6755 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.6584, allocations: 11.94 kB / 0.6755 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006661/0.6651, allocations: 1.375 MB / 0.6769 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.6658, allocations: 155.7 kB / 0.677 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.6685, allocations: 1.541 MB / 0.6785 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.6696, allocations: 87.98 kB / 0.6786 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.6697, allocations: 56.83 kB / 0.6787 GB, free: 2.418 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0006116/0.6703, allocations: 293.5 kB / 0.6789 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.6705, allocations: 86.97 kB / 0.679 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.674, allocations: 1.695 MB / 0.6807 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.6741, allocations: 8 kB / 0.6807 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6741, allocations: 4 kB / 0.6807 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.6741, allocations: 7.922 kB / 0.6807 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004346/0.6784, allocations: 2.636 MB / 0.6833 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.6785, allocations: 8.188 kB / 0.6833 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.6797, allocations: 259.6 kB / 0.6835 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/0.6814, allocations: 400.3 kB / 0.6839 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.95e-05/0.6816, allocations: 31.98 kB / 0.6839 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.6841, allocations: 2.27 MB / 0.6862 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.6841, allocations: 4.031 kB / 0.6862 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/0.6881, allocations: 2.044 MB / 0.6882 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007062/0.6889, allocations: 299.8 kB / 0.6884 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.6891, allocations: 20 kB / 0.6885 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009851/0.6901, allocations: 79.92 kB / 0.6885 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.6902, allocations: 64.81 kB / 0.6886 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.6904, allocations: 47.91 kB / 0.6886 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007066/0.6911, allocations: 487 kB / 0.6891 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6911, allocations: 0 / 0.6891 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002221/0.6933, allocations: 0.6675 MB / 0.6898 GB, free: 6.715 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[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 (82): * Single equations (assignments): 78 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007239/0.7006, allocations: 3.257 MB / 0.6929 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.7035, allocations: 1.249 MB / 0.6942 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.7035, allocations: 4 kB / 0.6942 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.7053, allocations: 0.7089 MB / 0.6949 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/0.7079, allocations: 476.5 kB / 0.6953 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.7213, allocations: 6.761 MB / 0.7019 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007763/0.7222, allocations: 1.043 MB / 0.7029 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001401/0.7236, allocations: 366.8 kB / 0.7033 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/0.7242, allocations: 331.3 kB / 0.7036 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/0.7242, allocations: 0 / 0.7036 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3378/1.062, allocations: 40.65 MB / 0.7433 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.062, allocations: 275.4 kB / 0.7436 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/4.412, allocations: 0 / 0.7436 GB, free: 184.9 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat