Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.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.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",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.0009512/0.0009512, allocations: 98.23 kB / 16.99 MB, free: 6.402 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.0009555/0.0009556, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.443/1.443, allocations: 223.2 MB / 241.8 MB, free: 396 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.2188/0.2188, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003341, allocations: 12 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 61.91 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4596/0.5948, allocations: 125.8 MB / 0.5833 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.5973, allocations: 1.79 MB / 0.5851 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.5975, allocations: 4 kB / 0.5851 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.5978, allocations: 47.78 kB / 0.5851 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.5991, allocations: 450.6 kB / 0.5856 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.5994, allocations: 81.25 kB / 0.5856 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.5996, allocations: 155.6 kB / 0.5858 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.803e-05/0.5997, allocations: 11.98 kB / 0.5858 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000381/0.6001, allocations: 171.5 kB / 0.586 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.6002, allocations: 71.8 kB / 0.586 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.6003, allocations: 8 kB / 0.586 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.6018, allocations: 0.7256 MB / 0.5867 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.6019, allocations: 71.84 kB / 0.5868 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.602, allocations: 65.56 kB / 0.5869 GB, free: 488 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007422/0.6027, allocations: 454.1 kB / 0.5873 GB, free: 44 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6027, allocations: 0 / 0.5873 GB, free: 44 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.6028, allocations: 3.984 kB / 0.5873 GB, free: 40 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.6028, allocations: 0 / 0.5873 GB, free: 40 kB / 414.1 MB 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.0008322/0.6036, allocations: 468 kB / 0.5878 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.6037, allocations: 12.03 kB / 0.5878 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.358e-05/0.6037, allocations: 50.55 kB / 0.5878 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.6058, allocations: 267.4 kB / 0.5881 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.6061, allocations: 250.8 kB / 0.5883 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.6061, allocations: 16.28 kB / 0.5883 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.6062, allocations: 19.91 kB / 0.5883 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007049/0.6069, allocations: 0.4889 MB / 0.5888 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6069, allocations: 0 / 0.5888 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.607, allocations: 4 kB / 0.5888 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.607, allocations: 15.92 kB / 0.5888 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/0.6078, allocations: 0.5739 MB / 0.5894 GB, free: 13.79 MB / 430.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.002119/0.61, allocations: 0.9996 MB / 0.5904 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.6103, allocations: 245 kB / 0.5906 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009113/0.6113, allocations: 367.2 kB / 0.591 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.6113, allocations: 34.56 kB / 0.591 GB, free: 12.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.6113, allocations: 0 / 0.591 GB, free: 12.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001861/0.6132, allocations: 0.6051 MB / 0.5916 GB, free: 11.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.6132, allocations: 81.11 kB / 0.5917 GB, free: 11.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.6134, allocations: 133.6 kB / 0.5918 GB, free: 11.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.6134, allocations: 33.7 kB / 0.5918 GB, free: 11.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.6135, allocations: 108.4 kB / 0.5919 GB, free: 11.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.919e-05/0.6136, allocations: 110.4 kB / 0.592 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.6136, allocations: 8 kB / 0.592 GB, free: 10.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6137, allocations: 342.7 kB / 0.5924 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.6141, allocations: 179.9 kB / 0.5925 GB, free: 10.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.6144, allocations: 285.6 kB / 0.5928 GB, free: 10.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.6148, allocations: 219.8 kB / 0.593 GB, free: 9.848 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6148, allocations: 0 / 0.593 GB, free: 9.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000894/0.6157, allocations: 0.5154 MB / 0.5935 GB, free: 9.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6158, allocations: 11.94 kB / 0.5935 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6158, allocations: 4 kB / 0.5935 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.6158, allocations: 7.984 kB / 0.5935 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.6163, allocations: 79.7 kB / 0.5936 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.6163, allocations: 11.94 kB / 0.5936 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.6168, allocations: 39.89 kB / 0.5937 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/0.6168, allocations: 19.98 kB / 0.5937 GB, free: 9.16 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.617, allocations: 154.2 kB / 0.5938 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.6171, allocations: 11.91 kB / 0.5938 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009183/0.618, allocations: 487.2 kB / 0.5943 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6181, allocations: 4 kB / 0.5943 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.6181, allocations: 0 / 0.5943 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6181, allocations: 3.984 kB / 0.5943 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007301/0.6188, allocations: 466 kB / 0.5948 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6188, allocations: 4 kB / 0.5948 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.6193, allocations: 51.91 kB / 0.5948 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.6194, allocations: 4 kB / 0.5948 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.6194, allocations: 11.98 kB / 0.5948 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.6194, allocations: 0 / 0.5948 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6194, allocations: 4 kB / 0.5948 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.6204, allocations: 0.7056 MB / 0.5955 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.6205, allocations: 92.86 kB / 0.5956 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.6206, allocations: 15.92 kB / 0.5956 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.6211, allocations: 23.97 kB / 0.5957 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.6211, allocations: 15.98 kB / 0.5957 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.6212, allocations: 15.98 kB / 0.5957 GB, free: 7.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.302e-05/0.6213, allocations: 109.6 kB / 0.5958 GB, free: 6.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6213, allocations: 0 / 0.5958 GB, free: 6.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007461/0.622, allocations: 159.9 kB / 0.5959 GB, free: 6.754 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002222/0.6242, allocations: 1.485 MB / 0.5974 GB, free: 5.238 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008501/0.6251, allocations: 450.8 kB / 0.5978 GB, free: 4.801 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6251, allocations: 4.062 kB / 0.5978 GB, free: 4.797 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.6255, allocations: 207.8 kB / 0.598 GB, free: 4.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.6261, allocations: 93.5 kB / 0.5981 GB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.6299, allocations: 4.132 MB / 0.6021 GB, free: 264 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.6303, allocations: 0.7446 MB / 0.6029 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006635/0.631, allocations: 114.4 kB / 0.603 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.6312, allocations: 59.42 kB / 0.603 GB, free: 15.32 MB / 446.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6312, allocations: 0 / 0.603 GB, free: 15.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.654, allocations: 9.623 MB / 0.6124 GB, free: 5.844 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.6542, allocations: 162.5 kB / 0.6126 GB, free: 5.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.584, allocations: 4 kB / 0.6126 GB, free: 5.605 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat