Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2219/0.2219, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 83.84 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3574, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1785/0.5359, allocations: 150.5 MB / 0.6776 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007916/0.5439, allocations: 5.604 MB / 0.6831 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006175/0.5445, allocations: 19.88 kB / 0.6831 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009619/0.5455, allocations: 326 kB / 0.6834 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.5474, allocations: 0.8628 MB / 0.6842 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.55, allocations: 1.019 MB / 0.6852 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002172/0.5522, allocations: 1.797 MB / 0.687 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006954/0.5529, allocations: 461.4 kB / 0.6874 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.5542, allocations: 0.7668 MB / 0.6882 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.5552, allocations: 0.7164 MB / 0.6889 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.5554, allocations: 64 kB / 0.6889 GB, free: 15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.5567, allocations: 0.5537 MB / 0.6895 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.557, allocations: 267.2 kB / 0.6897 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.5575, allocations: 406.2 kB / 0.6901 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.5593, allocations: 1.175 MB / 0.6913 GB, free: 12.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5593, allocations: 4 kB / 0.6913 GB, free: 12.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5593, allocations: 0 / 0.6913 GB, free: 12.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.5593, allocations: 0 / 0.6913 GB, free: 12.6 MB / 0.545 GB 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.002186/0.5615, allocations: 1.07 MB / 0.6923 GB, free: 11.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.5616, allocations: 12.03 kB / 0.6923 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.5617, allocations: 94.7 kB / 0.6924 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.5621, allocations: 96.41 kB / 0.6925 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008782/0.563, allocations: 0.5409 MB / 0.693 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.5631, allocations: 105 kB / 0.6931 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.5632, allocations: 52.11 kB / 0.6932 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.5645, allocations: 0.811 MB / 0.694 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.5646, allocations: 4 kB / 0.694 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.5647, allocations: 23.98 kB / 0.694 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.981e-05/0.5647, allocations: 40.92 kB / 0.694 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.5658, allocations: 0.6595 MB / 0.6947 GB, free: 8.922 MB / 0.545 GB 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.004783/0.5706, allocations: 3.956 MB / 0.6985 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000825/0.5715, allocations: 432.2 kB / 0.699 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.5718, allocations: 205.4 kB / 0.6992 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006532/0.5725, allocations: 0.7327 MB / 0.6999 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.5725, allocations: 50.77 kB / 0.6999 GB, free: 3.094 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.804e-06/0.5726, allocations: 0 / 0.6999 GB, free: 3.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003323/0.5759, allocations: 1.562 MB / 0.7014 GB, free: 1.461 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.576, allocations: 132.5 kB / 0.7016 GB, free: 1.301 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007363/0.5767, allocations: 0.5694 MB / 0.7021 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.5768, allocations: 33.7 kB / 0.7022 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.5771, allocations: 363.9 kB / 0.7025 GB, free: 328 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.5772, allocations: 166.6 kB / 0.7027 GB, free: 160 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.5774, allocations: 146.6 kB / 0.7028 GB, free: 8 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.5777, allocations: 378.8 kB / 0.7032 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.5781, allocations: 213.9 kB / 0.7034 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007253/0.5788, allocations: 0.5123 MB / 0.7039 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.58, allocations: 0.7601 MB / 0.7046 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.58, allocations: 0 / 0.7046 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001772/0.5818, allocations: 0.9145 MB / 0.7055 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.5818, allocations: 8 kB / 0.7055 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.5818, allocations: 12 kB / 0.7055 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.5832, allocations: 291 kB / 0.7058 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.5836, allocations: 119.8 kB / 0.7059 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.5848, allocations: 0.884 MB / 0.7068 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.5854, allocations: 32.06 kB / 0.7068 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/0.5855, allocations: 39.92 kB / 0.7069 GB, free: 11.56 MB / 0.5606 GB 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004312/0.5859, allocations: 252.7 kB / 0.7071 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.5861, allocations: 67.58 kB / 0.7072 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.5875, allocations: 0.7713 MB / 0.7079 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.5875, allocations: 4 kB / 0.7079 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5875, allocations: 4 kB / 0.7079 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.5875, allocations: 7.938 kB / 0.7079 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.5896, allocations: 1.413 MB / 0.7093 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5896, allocations: 3.938 kB / 0.7093 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.5907, allocations: 204 kB / 0.7095 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.344e-05/0.5908, allocations: 28.78 kB / 0.7095 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.5908, allocations: 15.98 kB / 0.7095 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/0.5934, allocations: 2.87 MB / 0.7123 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5934, allocations: 8.016 kB / 0.7124 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.595, allocations: 1.009 MB / 0.7133 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.5953, allocations: 204.6 kB / 0.7135 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.5954, allocations: 16.06 kB / 0.7136 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.5958, allocations: 19.98 kB / 0.7136 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.5959, allocations: 35.89 kB / 0.7136 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.596, allocations: 27.92 kB / 0.7136 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005952/0.5966, allocations: 427 kB / 0.714 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5966, allocations: 0 / 0.714 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000923/0.5975, allocations: 231.8 kB / 0.7143 GB, free: 3.469 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002376/0.5999, allocations: 1.728 MB / 0.7159 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.6013, allocations: 0.5941 MB / 0.7165 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6013, allocations: 3.859 kB / 0.7165 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.6024, allocations: 460 kB / 0.717 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.6041, allocations: 374.4 kB / 0.7173 GB, free: 280 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2334/0.8375, allocations: 6.493 MB / 0.7237 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.8379, allocations: 0.936 MB / 0.7246 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006485/0.8385, allocations: 209 kB / 0.7248 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.8388, allocations: 242.8 kB / 0.725 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.8388, allocations: 0 / 0.725 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05132/0.8902, allocations: 22.59 MB / 0.7471 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.03, allocations: 19.19 kB / 0.7471 GB, free: 161.1 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)