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.001853/0.001853, 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.002161/0.002162, 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.45/1.45, allocations: 227.4 MB / 247 MB, free: 10.43 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.2525/0.2525, 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.002244/0.002244, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.337, allocations: 62.45 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.186/0.5231, allocations: 152.6 MB / 0.6796 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002958/0.5261, allocations: 2.2 MB / 0.6817 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.544e-05/0.5262, allocations: 3.938 kB / 0.6817 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.5267, allocations: 51.72 kB / 0.6818 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.5284, allocations: 0.626 MB / 0.6824 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.5288, allocations: 107 kB / 0.6825 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.5292, allocations: 251.1 kB / 0.6827 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.5293, allocations: 15.92 kB / 0.6828 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.5296, allocations: 147.2 kB / 0.6829 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.5298, allocations: 87.78 kB / 0.683 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.5299, allocations: 15.94 kB / 0.683 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.5315, allocations: 0.8534 MB / 0.6838 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.5316, allocations: 83.78 kB / 0.6839 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.5317, allocations: 95.64 kB / 0.684 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.5329, allocations: 0.6621 MB / 0.6846 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5329, allocations: 0 / 0.6846 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5329, allocations: 0 / 0.6846 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.533, allocations: 4 kB / 0.6846 GB, free: 3.359 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.0009406/0.5339, allocations: 0.5025 MB / 0.6851 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.534, allocations: 12.03 kB / 0.6852 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.5341, allocations: 54.73 kB / 0.6852 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/0.5361, allocations: 280.5 kB / 0.6855 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.5365, allocations: 287.6 kB / 0.6857 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.5365, allocations: 12.33 kB / 0.6858 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.5366, allocations: 16 kB / 0.6858 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000793/0.5374, allocations: 0.4977 MB / 0.6863 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5374, allocations: 0 / 0.6863 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.5375, allocations: 11.94 kB / 0.6863 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.5375, allocations: 12 kB / 0.6863 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009295/0.5384, allocations: 0.5739 MB / 0.6868 GB, free: 1.008 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.002162/0.5406, allocations: 1.012 MB / 0.6878 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.541, allocations: 237.1 kB / 0.6881 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.5413, allocations: 181.6 kB / 0.6882 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009474/0.5423, allocations: 391.3 kB / 0.6886 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.5423, allocations: 46.5 kB / 0.6886 GB, free: 15.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.5423, allocations: 0 / 0.6886 GB, free: 15.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001966/0.5443, allocations: 0.5934 MB / 0.6892 GB, free: 14.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.5444, allocations: 81.11 kB / 0.6893 GB, free: 14.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.5445, allocations: 129.8 kB / 0.6894 GB, free: 14.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.5445, allocations: 29.7 kB / 0.6895 GB, free: 14.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.5446, allocations: 116.5 kB / 0.6896 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.5447, allocations: 123 kB / 0.6897 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.5449, allocations: 65.48 kB / 0.6897 GB, free: 13.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5451, allocations: 330.8 kB / 0.6901 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.5454, allocations: 183.9 kB / 0.6902 GB, free: 13.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.5459, allocations: 296.5 kB / 0.6905 GB, free: 12.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008181/0.5467, allocations: 487 kB / 0.691 GB, free: 12.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5467, allocations: 4 kB / 0.691 GB, free: 12.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001006/0.5477, allocations: 0.5169 MB / 0.6915 GB, free: 11.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5477, allocations: 7.938 kB / 0.6915 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5478, allocations: 4.391 kB / 0.6915 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5478, allocations: 4 kB / 0.6915 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.5483, allocations: 79.89 kB / 0.6916 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.5483, allocations: 19.92 kB / 0.6916 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.5487, allocations: 35.77 kB / 0.6916 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.5488, allocations: 16 kB / 0.6917 GB, free: 11.78 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.0001778/0.549, allocations: 153.8 kB / 0.6918 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.5491, allocations: 15.91 kB / 0.6918 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.5501, allocations: 498 kB / 0.6923 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.5501, allocations: 11.92 kB / 0.6923 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5501, allocations: 0 / 0.6923 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.5501, allocations: 0 / 0.6923 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007661/0.5509, allocations: 461.8 kB / 0.6927 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5509, allocations: 0 / 0.6927 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.5514, allocations: 63.89 kB / 0.6928 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.5514, allocations: 4 kB / 0.6928 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.5515, allocations: 8 kB / 0.6928 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.5515, allocations: 4 kB / 0.6928 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5515, allocations: 0 / 0.6928 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.5527, allocations: 0.6914 MB / 0.6935 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.5527, allocations: 100.9 kB / 0.6936 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.5528, allocations: 12 kB / 0.6936 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/0.5533, allocations: 23.95 kB / 0.6936 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.5533, allocations: 11.98 kB / 0.6936 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/0.5534, allocations: 23.92 kB / 0.6937 GB, free: 9.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.019e-05/0.5535, allocations: 99.27 kB / 0.6938 GB, free: 9.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5535, allocations: 0 / 0.6938 GB, free: 9.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006568/0.5541, allocations: 167.6 kB / 0.6939 GB, free: 9.367 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.002102/0.5563, allocations: 1.461 MB / 0.6953 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008125/0.5571, allocations: 448 kB / 0.6958 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5571, allocations: 4 kB / 0.6958 GB, free: 7.434 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.5575, allocations: 212.3 kB / 0.696 GB, free: 7.227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007015/0.5582, allocations: 100.3 kB / 0.6961 GB, free: 7.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.5625, allocations: 3.224 MB / 0.6992 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.5629, allocations: 0.7478 MB / 0.6999 GB, free: 2.961 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004552/0.5633, allocations: 105.8 kB / 0.7 GB, free: 2.859 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.5635, allocations: 63.41 kB / 0.7001 GB, free: 2.797 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.5635, allocations: 0 / 0.7001 GB, free: 2.797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.5989, allocations: 10.35 MB / 0.7102 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.661, allocations: 7.219 kB / 0.7102 GB, free: 8.547 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1)