Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.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.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001525/0.001525, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 205.2 kB / 18.74 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.459/1.459, allocations: 227.4 MB / 247 MB, free: 10.41 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.2268/0.2268, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002284/0.002284, allocations: 75.88 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3321, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1843/0.5165, allocations: 152.6 MB / 0.6796 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002846/0.5194, allocations: 2.192 MB / 0.6817 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.5195, allocations: 3.938 kB / 0.6817 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.5198, allocations: 55.66 kB / 0.6818 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.5215, allocations: 0.6222 MB / 0.6824 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.5218, allocations: 119.3 kB / 0.6825 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.5222, allocations: 255.1 kB / 0.6827 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.5222, allocations: 19.92 kB / 0.6828 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.5225, allocations: 147.2 kB / 0.6829 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.5227, allocations: 83.72 kB / 0.683 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.5228, allocations: 8 kB / 0.683 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.5244, allocations: 0.8534 MB / 0.6838 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.5246, allocations: 91.69 kB / 0.6839 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.5248, allocations: 99.64 kB / 0.684 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.5259, allocations: 0.6583 MB / 0.6847 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5259, allocations: 0 / 0.6847 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.526, allocations: 0 / 0.6847 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.526, allocations: 0 / 0.6847 GB, free: 3.387 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009106/0.5269, allocations: 0.5025 MB / 0.6851 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.5269, allocations: 12.03 kB / 0.6852 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.989e-05/0.527, allocations: 54.67 kB / 0.6852 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.529, allocations: 280.5 kB / 0.6855 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.5295, allocations: 283.6 kB / 0.6857 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.5295, allocations: 12.33 kB / 0.6858 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.5296, allocations: 20 kB / 0.6858 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/0.5304, allocations: 0.49 MB / 0.6863 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5304, allocations: 0 / 0.6863 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.5305, allocations: 12 kB / 0.6863 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.5305, allocations: 8 kB / 0.6863 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009246/0.5315, allocations: 0.5777 MB / 0.6868 GB, free: 1.043 MB / 0.5294 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.002243/0.5337, allocations: 1.016 MB / 0.6878 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.5342, allocations: 237.1 kB / 0.6881 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.5344, allocations: 193.6 kB / 0.6882 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009366/0.5354, allocations: 375.2 kB / 0.6886 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.5354, allocations: 38.56 kB / 0.6886 GB, free: 15.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.5354, allocations: 4 kB / 0.6886 GB, free: 15.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002017/0.5375, allocations: 0.5974 MB / 0.6892 GB, free: 14.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.5375, allocations: 81.09 kB / 0.6893 GB, free: 14.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.5377, allocations: 125.8 kB / 0.6894 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.5377, allocations: 33.7 kB / 0.6895 GB, free: 14.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/0.5378, allocations: 120.5 kB / 0.6896 GB, free: 14.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.538, allocations: 111.1 kB / 0.6897 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.5381, allocations: 69.47 kB / 0.6897 GB, free: 13.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5383, allocations: 330.7 kB / 0.6901 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.5387, allocations: 187.9 kB / 0.6902 GB, free: 13.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.5392, allocations: 292.5 kB / 0.6905 GB, free: 13.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008437/0.54, allocations: 490.8 kB / 0.691 GB, free: 12.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.54, allocations: 4 kB / 0.691 GB, free: 12.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001054/0.5411, allocations: 0.5127 MB / 0.6915 GB, free: 11.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.5411, allocations: 11.94 kB / 0.6915 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5411, allocations: 4 kB / 0.6915 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.5412, allocations: 4 kB / 0.6915 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.5417, allocations: 87.81 kB / 0.6916 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.5417, allocations: 8 kB / 0.6916 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.5421, allocations: 40.17 kB / 0.6916 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/0.5422, allocations: 16 kB / 0.6916 GB, free: 11.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.5424, allocations: 149.6 kB / 0.6918 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5425, allocations: 15.91 kB / 0.6918 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.5436, allocations: 0.4906 MB / 0.6923 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.5436, allocations: 4 kB / 0.6923 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5436, allocations: 3.938 kB / 0.6923 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5436, allocations: 0 / 0.6923 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000821/0.5444, allocations: 461.8 kB / 0.6927 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.5445, allocations: 4 kB / 0.6927 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.545, allocations: 59.95 kB / 0.6928 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.545, allocations: 0 / 0.6928 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.545, allocations: 8 kB / 0.6928 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.545, allocations: 4 kB / 0.6928 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.545, allocations: 7.922 kB / 0.6928 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.5463, allocations: 0.6914 MB / 0.6935 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.745e-05/0.5464, allocations: 96.95 kB / 0.6936 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.5464, allocations: 12 kB / 0.6936 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.5469, allocations: 19.97 kB / 0.6936 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.547, allocations: 11.98 kB / 0.6936 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.547, allocations: 23.92 kB / 0.6936 GB, free: 9.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.467e-05/0.5471, allocations: 103.2 kB / 0.6937 GB, free: 9.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5471, allocations: 0 / 0.6937 GB, free: 9.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007426/0.5479, allocations: 167.6 kB / 0.6939 GB, free: 9.406 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002296/0.5502, allocations: 1.473 MB / 0.6953 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008898/0.5511, allocations: 447.5 kB / 0.6958 GB, free: 7.465 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5511, allocations: 0 / 0.6958 GB, free: 7.465 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.5515, allocations: 211.8 kB / 0.696 GB, free: 7.258 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/0.5522, allocations: 91.69 kB / 0.6961 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/0.557, allocations: 3.224 MB / 0.6992 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.5575, allocations: 0.7516 MB / 0.6999 GB, free: 3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004863/0.558, allocations: 113.8 kB / 0.7 GB, free: 2.891 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.5582, allocations: 59.42 kB / 0.7001 GB, free: 2.832 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.5582, allocations: 0 / 0.7001 GB, free: 2.832 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.5951, allocations: 10.35 MB / 0.7102 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.67, allocations: 4.609 kB / 0.7102 GB, free: 8.59 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1)