Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008558/0.0008557, allocations: 99.94 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009291/0.0009292, allocations: 204.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 45.9 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 8 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1693, allocations: 63.46 MB / 481.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5627/0.732, allocations: 141.9 MB / 0.6088 GB, free: 7.375 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.7445, allocations: 5.521 MB / 0.6142 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.7461, allocations: 27.75 kB / 0.6142 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.7475, allocations: 266.7 kB / 0.6145 GB, free: 1.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005446/0.753, allocations: 1.078 MB / 0.6155 GB, free: 492 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.7568, allocations: 0.8492 MB / 0.6164 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003384/0.7602, allocations: 1.047 MB / 0.6174 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.7618, allocations: 386.2 kB / 0.6178 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003677/0.7655, allocations: 0.7479 MB / 0.6185 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.7676, allocations: 0.5645 MB / 0.619 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.7678, allocations: 36 kB / 0.6191 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.7701, allocations: 495.4 kB / 0.6196 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004325/0.7706, allocations: 219.4 kB / 0.6198 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.771, allocations: 169.3 kB / 0.6199 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.7729, allocations: 0.9056 MB / 0.6208 GB, free: 11.08 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.7729, allocations: 0 / 0.6208 GB, free: 11.08 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7729, allocations: 0 / 0.6208 GB, free: 11.08 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.773, allocations: 7.938 kB / 0.6208 GB, free: 11.07 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003426/0.7764, allocations: 0.9582 MB / 0.6218 GB, free: 10.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001062/0.7765, allocations: 16.5 kB / 0.6218 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002645/0.7768, allocations: 98.5 kB / 0.6219 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.7782, allocations: 135 kB / 0.622 GB, free: 9.809 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.7796, allocations: 484.7 kB / 0.6225 GB, free: 9.297 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.7798, allocations: 104.4 kB / 0.6226 GB, free: 9.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.7799, allocations: 51.98 kB / 0.6226 GB, free: 9.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.7819, allocations: 0.8174 MB / 0.6234 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.782, allocations: 4 kB / 0.6234 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.7821, allocations: 24 kB / 0.6234 GB, free: 8.207 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.869e-05/0.7822, allocations: 40.94 kB / 0.6235 GB, free: 8.168 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.7832, allocations: 0.6282 MB / 0.6241 GB, free: 7.539 MB / 462.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.00509/0.7883, allocations: 3.929 MB / 0.6279 GB, free: 3.363 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.7889, allocations: 347.6 kB / 0.6282 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.7891, allocations: 93.39 kB / 0.6283 GB, free: 2.906 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.7891, allocations: 42.83 kB / 0.6284 GB, free: 2.855 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.7891, allocations: 0 / 0.6284 GB, free: 2.855 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005873/0.795, allocations: 1.665 MB / 0.63 GB, free: 1.117 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.7951, allocations: 136.5 kB / 0.6301 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007988/0.7959, allocations: 0.6093 MB / 0.6307 GB, free: 340 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.796, allocations: 33.64 kB / 0.6308 GB, free: 300 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.7963, allocations: 371 kB / 0.6311 GB, free: 15.92 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.7964, allocations: 142.1 kB / 0.6313 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.7965, allocations: 12 kB / 0.6313 GB, free: 15.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.7967, allocations: 378.7 kB / 0.6316 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.797, allocations: 201.9 kB / 0.6318 GB, free: 15.19 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/0.7976, allocations: 0.5125 MB / 0.6323 GB, free: 14.53 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.7981, allocations: 292.4 kB / 0.6326 GB, free: 14.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7981, allocations: 0 / 0.6326 GB, free: 14.24 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001408/0.7996, allocations: 0.8759 MB / 0.6335 GB, free: 13.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.7996, allocations: 8 kB / 0.6335 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.7996, allocations: 12 kB / 0.6335 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.801, allocations: 325.1 kB / 0.6338 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.8014, allocations: 127.8 kB / 0.6339 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.8026, allocations: 0.9247 MB / 0.6348 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005958/0.8032, allocations: 51.97 kB / 0.6349 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/0.8033, allocations: 71.98 kB / 0.6349 GB, free: 11.83 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000397/0.8037, allocations: 241.5 kB / 0.6352 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.804, allocations: 71.16 kB / 0.6352 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.8062, allocations: 0.8618 MB / 0.6361 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.8062, allocations: 4 kB / 0.6361 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/0.8063, allocations: 8 kB / 0.6361 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.8063, allocations: 3.984 kB / 0.6361 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/0.809, allocations: 1.445 MB / 0.6375 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.809, allocations: 0 / 0.6375 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.8102, allocations: 211.8 kB / 0.6377 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.8104, allocations: 28.78 kB / 0.6377 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.8105, allocations: 19.98 kB / 0.6377 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.8132, allocations: 2.688 MB / 0.6404 GB, free: 5.832 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.8133, allocations: 7.922 kB / 0.6404 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.8148, allocations: 0.89 MB / 0.6412 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.8151, allocations: 184.2 kB / 0.6414 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-05/0.8152, allocations: 15.98 kB / 0.6414 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.8157, allocations: 31.98 kB / 0.6415 GB, free: 4.613 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.8158, allocations: 43.91 kB / 0.6415 GB, free: 4.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/0.8159, allocations: 43.98 kB / 0.6415 GB, free: 4.527 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006922/0.8166, allocations: 427 kB / 0.642 GB, free: 4.113 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8167, allocations: 0 / 0.642 GB, free: 4.113 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001189/0.8178, allocations: 255.9 kB / 0.6422 GB, free: 3.863 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0029/0.8208, allocations: 2.041 MB / 0.6442 GB, free: 1.762 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.8221, allocations: 0.5474 MB / 0.6447 GB, free: 1.215 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8221, allocations: 0 / 0.6447 GB, free: 1.215 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.8232, allocations: 422.7 kB / 0.6451 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.8248, allocations: 326.1 kB / 0.6454 GB, free: 492 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.8367, allocations: 10.84 MB / 0.656 GB, free: 5.359 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008007/0.8376, allocations: 0.9417 MB / 0.6569 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001478/0.8391, allocations: 466.3 kB / 0.6574 GB, free: 3.934 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006284/0.8397, allocations: 279.3 kB / 0.6577 GB, free: 3.66 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.8397, allocations: 0 / 0.6577 GB, free: 3.66 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04908/0.8888, allocations: 22.76 MB / 0.6799 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/0.8891, allocations: 277.6 kB / 0.6801 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.23, allocations: 6.328 kB / 0.6802 GB, free: 12.86 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat