Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",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.0009618/0.0009619, allocations: 91.53 kB / 17 MB, free: 6.078 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.00113/0.00113, allocations: 182.1 kB / 17.89 MB, free: 5.656 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.455/1.455, allocations: 223.2 MB / 241.9 MB, free: 232 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.226/0.226, allocations: 44.23 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 61.93 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5278/0.6637, allocations: 135.5 MB / 0.5929 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.665, allocations: 0.9086 MB / 0.5938 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.6651, allocations: 0 / 0.5938 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.6653, allocations: 28.2 kB / 0.5938 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005193/0.6658, allocations: 208.4 kB / 0.594 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.6662, allocations: 95.67 kB / 0.5941 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.6664, allocations: 179.2 kB / 0.5943 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.6665, allocations: 4 kB / 0.5943 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.6667, allocations: 91.67 kB / 0.5943 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.6668, allocations: 51.83 kB / 0.5944 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.6668, allocations: 4 kB / 0.5944 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004745/0.6673, allocations: 263.6 kB / 0.5946 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.6674, allocations: 15.98 kB / 0.5947 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.6674, allocations: 41.64 kB / 0.5947 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.6677, allocations: 201.8 kB / 0.5949 GB, free: 9.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6677, allocations: 4 kB / 0.5949 GB, free: 9.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6677, allocations: 4 kB / 0.5949 GB, free: 9.605 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.6677, allocations: 0 / 0.5949 GB, free: 9.605 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004605/0.6682, allocations: 384 kB / 0.5953 GB, free: 9.184 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.6682, allocations: 12.02 kB / 0.5953 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.6683, allocations: 42.5 kB / 0.5953 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.67, allocations: 187.6 kB / 0.5955 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.6703, allocations: 210.9 kB / 0.5957 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.6703, allocations: 8.656 kB / 0.5957 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.6703, allocations: 4.75 kB / 0.5957 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.6708, allocations: 222.5 kB / 0.5959 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6708, allocations: 0 / 0.5959 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.6709, allocations: 4 kB / 0.5959 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.6709, allocations: 0 / 0.5959 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.6713, allocations: 190.2 kB / 0.5961 GB, free: 8.262 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.0009748/0.6723, allocations: 0.5641 MB / 0.5967 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.6726, allocations: 147 kB / 0.5968 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.6727, allocations: 68.83 kB / 0.5969 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.6728, allocations: 4 kB / 0.5969 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.6728, allocations: 33 kB / 0.5969 GB, free: 7.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.6728, allocations: 0 / 0.5969 GB, free: 7.375 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004595/0.6774, allocations: 1.311 MB / 0.5982 GB, free: 5.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.6774, allocations: 55.41 kB / 0.5982 GB, free: 5.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.6775, allocations: 113.8 kB / 0.5983 GB, free: 5.789 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.6776, allocations: 29.7 kB / 0.5984 GB, free: 5.754 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.6776, allocations: 91.98 kB / 0.5985 GB, free: 5.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.6777, allocations: 71 kB / 0.5985 GB, free: 5.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.6777, allocations: 4 kB / 0.5985 GB, free: 5.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.6778, allocations: 322.8 kB / 0.5988 GB, free: 5.262 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.678, allocations: 67.97 kB / 0.5989 GB, free: 5.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.6781, allocations: 107.4 kB / 0.599 GB, free: 5.078 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.6783, allocations: 84.88 kB / 0.5991 GB, free: 4.996 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.6783, allocations: 0 / 0.5991 GB, free: 4.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004467/0.6788, allocations: 256.7 kB / 0.5993 GB, free: 4.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.6788, allocations: 7.938 kB / 0.5993 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6788, allocations: 0 / 0.5993 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.679, allocations: 48.83 kB / 0.5994 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.6793, allocations: 63.98 kB / 0.5994 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003876/0.6797, allocations: 0.5605 MB / 0.6 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.6798, allocations: 15.97 kB / 0.6 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.6799, allocations: 20 kB / 0.6 GB, free: 3.996 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.68, allocations: 130.4 kB / 0.6002 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.6801, allocations: 11.81 kB / 0.6002 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000802/0.6809, allocations: 344.9 kB / 0.6005 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6809, allocations: 4 kB / 0.6005 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6809, allocations: 3.953 kB / 0.6005 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6809, allocations: 0 / 0.6005 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.6818, allocations: 0.6186 MB / 0.6011 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6818, allocations: 0 / 0.6011 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.6822, allocations: 67.84 kB / 0.6012 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-05/0.6822, allocations: 20.84 kB / 0.6012 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.6823, allocations: 24.88 kB / 0.6012 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008198/0.6831, allocations: 1.268 MB / 0.6025 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6831, allocations: 4.156 kB / 0.6025 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006233/0.6837, allocations: 426.6 kB / 0.6029 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.6838, allocations: 88.95 kB / 0.6029 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.6838, allocations: 12.06 kB / 0.603 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.684, allocations: 8 kB / 0.603 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.6841, allocations: 19.97 kB / 0.603 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.6841, allocations: 27.98 kB / 0.603 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.374e-05/0.6842, allocations: 99.2 kB / 0.6031 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6842, allocations: 0 / 0.6031 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.6846, allocations: 76 kB / 0.6032 GB, free: 0.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/0.6857, allocations: 1.011 MB / 0.6042 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004471/0.6862, allocations: 207.9 kB / 0.6044 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6862, allocations: 4 kB / 0.6044 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.6865, allocations: 218.6 kB / 0.6046 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.6869, allocations: 40.16 kB / 0.6046 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.6886, allocations: 1.1 MB / 0.6057 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.6889, allocations: 0.7054 MB / 0.6064 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004292/0.6893, allocations: 85.38 kB / 0.6065 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.6895, allocations: 63.41 kB / 0.6065 GB, free: 12.94 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.6895, allocations: 0 / 0.6065 GB, free: 12.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.7079, allocations: 6.878 MB / 0.6132 GB, free: 6.215 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/0.7082, allocations: 213.8 kB / 0.6134 GB, free: 5.977 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.564, allocations: 0 / 0.6134 GB, free: 5.977 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat