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.0011/0.0011, allocations: 96.64 kB / 16.99 MB, free: 5.941 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.00128/0.00128, allocations: 183.2 kB / 17.87 MB, free: 5.609 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.417/1.417, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2182/0.2182, allocations: 44.23 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.00033, allocations: 11.98 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4617/0.599, allocations: 125.6 MB / 0.5831 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.6002, allocations: 0.8146 MB / 0.5839 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.6003, allocations: 0 / 0.5839 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.6005, allocations: 31.86 kB / 0.5839 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005083/0.601, allocations: 203.4 kB / 0.5841 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.6014, allocations: 99.72 kB / 0.5842 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.6016, allocations: 111.8 kB / 0.5843 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.631e-05/0.6017, allocations: 4 kB / 0.5843 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.6019, allocations: 83.73 kB / 0.5844 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.724e-05/0.602, allocations: 43.91 kB / 0.5845 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.602, allocations: 4 kB / 0.5845 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005941/0.6026, allocations: 287.6 kB / 0.5847 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.6027, allocations: 19.97 kB / 0.5847 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.055e-05/0.6028, allocations: 41.64 kB / 0.5848 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.6031, allocations: 193 kB / 0.585 GB, free: 2.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.6031, allocations: 0 / 0.585 GB, free: 2.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.6031, allocations: 0 / 0.585 GB, free: 2.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.6031, allocations: 0 / 0.585 GB, free: 2.43 MB / 414.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.0005493/0.6037, allocations: 394 kB / 0.5853 GB, free: 2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.6037, allocations: 8.031 kB / 0.5854 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.6038, allocations: 42.5 kB / 0.5854 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.6058, allocations: 187.6 kB / 0.5856 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.6061, allocations: 206.9 kB / 0.5858 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.6061, allocations: 8 kB / 0.5858 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.6062, allocations: 15.94 kB / 0.5858 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.6067, allocations: 216.1 kB / 0.586 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.6067, allocations: 0 / 0.586 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.6068, allocations: 4 kB / 0.586 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.6068, allocations: 4 kB / 0.586 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.6072, allocations: 179.7 kB / 0.5862 GB, free: 1.082 MB / 414.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.001063/0.6083, allocations: 0.5641 MB / 0.5867 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.6086, allocations: 142.5 kB / 0.5869 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.6087, allocations: 4 kB / 0.5869 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.6087, allocations: 34.56 kB / 0.5869 GB, free: 272 kB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.6087, allocations: 0 / 0.5869 GB, free: 272 kB / 414.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.005217/0.6139, allocations: 1.317 MB / 0.5882 GB, free: 14.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.614, allocations: 51.41 kB / 0.5882 GB, free: 14.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.302e-05/0.6141, allocations: 109.8 kB / 0.5883 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.6141, allocations: 29.7 kB / 0.5884 GB, free: 14.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.6142, allocations: 99.97 kB / 0.5885 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.6142, allocations: 63.02 kB / 0.5885 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.6143, allocations: 4 kB / 0.5885 GB, free: 14.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6144, allocations: 322.8 kB / 0.5888 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.6145, allocations: 67.91 kB / 0.5889 GB, free: 14.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.6147, allocations: 107.4 kB / 0.589 GB, free: 13.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.6149, allocations: 76.92 kB / 0.5891 GB, free: 13.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.6149, allocations: 3.953 kB / 0.5891 GB, free: 13.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004785/0.6154, allocations: 264.9 kB / 0.5893 GB, free: 13.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6154, allocations: 4 kB / 0.5893 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6154, allocations: 7.938 kB / 0.5893 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.6156, allocations: 54.58 kB / 0.5894 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.6159, allocations: 51.95 kB / 0.5894 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004135/0.6164, allocations: 0.5641 MB / 0.59 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.6165, allocations: 8.016 kB / 0.59 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.6166, allocations: 31.95 kB / 0.59 GB, free: 12.88 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.0001361/0.6168, allocations: 122.3 kB / 0.5902 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.6168, allocations: 15.8 kB / 0.5902 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008152/0.6176, allocations: 342.1 kB / 0.5905 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6176, allocations: 4 kB / 0.5905 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6177, allocations: 0 / 0.5905 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.6177, allocations: 7.891 kB / 0.5905 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.6187, allocations: 0.6239 MB / 0.5911 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6187, allocations: 0 / 0.5911 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.619, allocations: 67.89 kB / 0.5912 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.718e-05/0.6191, allocations: 20.8 kB / 0.5912 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.6192, allocations: 15.98 kB / 0.5912 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009345/0.6201, allocations: 1.268 MB / 0.5925 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6201, allocations: 0 / 0.5925 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006899/0.6208, allocations: 466.9 kB / 0.5929 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.6209, allocations: 88.95 kB / 0.593 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.6209, allocations: 11.95 kB / 0.593 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.6211, allocations: 12.06 kB / 0.593 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.6212, allocations: 19.97 kB / 0.593 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.6212, allocations: 27.98 kB / 0.5931 GB, free: 9.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.6213, allocations: 91.27 kB / 0.5931 GB, free: 9.418 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6213, allocations: 0 / 0.5931 GB, free: 9.418 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.6217, allocations: 76 kB / 0.5932 GB, free: 9.344 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.001197/0.6229, allocations: 1.25 MB / 0.5944 GB, free: 8.047 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004888/0.6234, allocations: 207.8 kB / 0.5946 GB, free: 7.844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6234, allocations: 0 / 0.5946 GB, free: 7.844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.6238, allocations: 226.5 kB / 0.5948 GB, free: 7.609 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.6241, allocations: 40.33 kB / 0.5949 GB, free: 7.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.6263, allocations: 1.552 MB / 0.5964 GB, free: 5.949 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.6267, allocations: 0.7127 MB / 0.5971 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004595/0.6272, allocations: 77.92 kB / 0.5972 GB, free: 5.137 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.6274, allocations: 67.41 kB / 0.5972 GB, free: 5.07 MB / 430.1 MB Notification: Performance of SimCode: time 2.716e-06/0.6274, allocations: 0 / 0.5972 GB, free: 5.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.6472, allocations: 6.852 MB / 0.6039 GB, free: 14.37 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.6475, allocations: 216.8 kB / 0.6041 GB, free: 14.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.477, allocations: 0 / 0.6041 GB, free: 14.12 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