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.001356/0.001356, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247 MB, free: 10.44 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.2271/0.2271, 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.002432/0.002432, allocations: 83.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3353, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1925/0.5278, allocations: 150.5 MB / 0.6776 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008263/0.5361, allocations: 5.596 MB / 0.6831 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007249/0.5368, allocations: 19.88 kB / 0.6831 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.5379, allocations: 322 kB / 0.6834 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.5402, allocations: 0.855 MB / 0.6842 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.5431, allocations: 1.03 MB / 0.6852 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002551/0.5456, allocations: 1.801 MB / 0.687 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007544/0.5464, allocations: 457.4 kB / 0.6874 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.5479, allocations: 0.7785 MB / 0.6882 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.549, allocations: 0.7086 MB / 0.6889 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.5492, allocations: 60 kB / 0.6889 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.5505, allocations: 0.5615 MB / 0.6895 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.5509, allocations: 259.3 kB / 0.6897 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004939/0.5514, allocations: 406.2 kB / 0.6901 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.5532, allocations: 1.175 MB / 0.6913 GB, free: 12.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5532, allocations: 0 / 0.6913 GB, free: 12.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5532, allocations: 0 / 0.6913 GB, free: 12.62 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.5532, allocations: 0 / 0.6913 GB, free: 12.62 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.002121/0.5553, allocations: 1.078 MB / 0.6923 GB, free: 11.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.5554, allocations: 8.031 kB / 0.6923 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.5555, allocations: 102.7 kB / 0.6924 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/0.5559, allocations: 96.42 kB / 0.6925 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008748/0.5568, allocations: 0.537 MB / 0.693 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.5569, allocations: 105 kB / 0.6931 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.882e-05/0.557, allocations: 48.12 kB / 0.6932 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.5584, allocations: 0.8188 MB / 0.694 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.5584, allocations: 3.984 kB / 0.694 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/0.5585, allocations: 23.98 kB / 0.694 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-05/0.5585, allocations: 40.92 kB / 0.694 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.5596, allocations: 0.6479 MB / 0.6947 GB, free: 8.941 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.004827/0.5645, allocations: 3.963 MB / 0.6986 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/0.5653, allocations: 436.2 kB / 0.699 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.5657, allocations: 197.4 kB / 0.6992 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/0.5664, allocations: 0.7366 MB / 0.6999 GB, free: 3.164 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.5664, allocations: 42.88 kB / 0.6999 GB, free: 3.113 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.964e-06/0.5665, allocations: 3.938 kB / 0.6999 GB, free: 3.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003377/0.5698, allocations: 1.558 MB / 0.7014 GB, free: 1.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.5699, allocations: 132.5 kB / 0.7016 GB, free: 1.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007183/0.5707, allocations: 0.5694 MB / 0.7021 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.5707, allocations: 37.7 kB / 0.7022 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.571, allocations: 367.8 kB / 0.7025 GB, free: 340 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.5712, allocations: 170.6 kB / 0.7027 GB, free: 168 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.5714, allocations: 142.6 kB / 0.7028 GB, free: 20 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.5716, allocations: 374.8 kB / 0.7032 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/0.5721, allocations: 217.9 kB / 0.7034 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/0.5727, allocations: 0.5084 MB / 0.7039 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.5738, allocations: 0.7562 MB / 0.7046 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.5738, allocations: 12 kB / 0.7046 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001705/0.5756, allocations: 0.9144 MB / 0.7055 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.5756, allocations: 12 kB / 0.7055 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.5756, allocations: 8 kB / 0.7055 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.577, allocations: 283 kB / 0.7058 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.5774, allocations: 127.8 kB / 0.7059 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.5786, allocations: 0.884 MB / 0.7068 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/0.579, allocations: 27.98 kB / 0.7068 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.5791, allocations: 39.94 kB / 0.7069 GB, free: 11.57 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.0003687/0.5795, allocations: 252.1 kB / 0.7071 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5796, allocations: 71.58 kB / 0.7072 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.581, allocations: 0.7714 MB / 0.7079 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.581, allocations: 4 kB / 0.7079 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.581, allocations: 0 / 0.7079 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.5811, allocations: 7.922 kB / 0.7079 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.5834, allocations: 1.413 MB / 0.7093 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.5834, allocations: 11.92 kB / 0.7093 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.5844, allocations: 204 kB / 0.7095 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.5846, allocations: 24.84 kB / 0.7095 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.5846, allocations: 15.94 kB / 0.7096 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/0.5872, allocations: 2.874 MB / 0.7124 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5872, allocations: 160 / 0.7124 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.5889, allocations: 1.021 MB / 0.7134 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/0.5893, allocations: 204.5 kB / 0.7135 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.163e-05/0.5894, allocations: 12 kB / 0.7136 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.5898, allocations: 16 kB / 0.7136 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5899, allocations: 35.89 kB / 0.7136 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.5899, allocations: 27.97 kB / 0.7136 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005793/0.5905, allocations: 431.1 kB / 0.714 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5905, allocations: 0 / 0.714 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008527/0.5914, allocations: 227.8 kB / 0.7143 GB, free: 3.48 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.00246/0.5939, allocations: 1.72 MB / 0.7159 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.5953, allocations: 0.5989 MB / 0.7165 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.5953, allocations: 7.859 kB / 0.7165 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.5965, allocations: 450.7 kB / 0.717 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.5987, allocations: 376.3 kB / 0.7173 GB, free: 292 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2421/0.8408, allocations: 6.499 MB / 0.7237 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.8413, allocations: 0.9329 MB / 0.7246 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000678/0.842, allocations: 210.2 kB / 0.7248 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.8422, allocations: 235.5 kB / 0.725 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.8422, allocations: 0 / 0.725 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/0.8931, allocations: 22.6 MB / 0.7471 GB, free: 161 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.93, allocations: 20.36 kB / 0.7471 GB, free: 161 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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)