Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 97.3 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 174.3 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.386/0.386, allocations: 43.54 MB / 314.5 MB, free: 8.727 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006766/0.0006767, allocations: 14.97 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1553, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5098/0.6652, allocations: 141.9 MB / 0.571 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.6763, allocations: 7.243 MB / 0.5781 GB, free: 6.488 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.6775, allocations: 23.81 kB / 0.5781 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009747/0.6785, allocations: 270.6 kB / 0.5784 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004834/0.6834, allocations: 1.279 MB / 0.5796 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.6867, allocations: 0.9809 MB / 0.5806 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0025/0.6892, allocations: 1.043 MB / 0.5816 GB, free: 2.914 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.6903, allocations: 388.7 kB / 0.582 GB, free: 2.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.6925, allocations: 0.748 MB / 0.5827 GB, free: 1.785 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.6938, allocations: 0.5567 MB / 0.5832 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.6939, allocations: 32 kB / 0.5833 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.6959, allocations: 0.6243 MB / 0.5839 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.6962, allocations: 215.4 kB / 0.5841 GB, free: 368 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.6965, allocations: 169.3 kB / 0.5842 GB, free: 192 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.698, allocations: 0.9862 MB / 0.5852 GB, free: 15.21 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.698, allocations: 0 / 0.5852 GB, free: 15.21 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.698, allocations: 0 / 0.5852 GB, free: 15.21 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.6981, allocations: 4 kB / 0.5852 GB, free: 15.2 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.002745/0.7008, allocations: 0.9832 MB / 0.5862 GB, free: 14.17 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/0.7009, allocations: 15.97 kB / 0.5862 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/0.7011, allocations: 94.52 kB / 0.5863 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008605/0.7019, allocations: 135.1 kB / 0.5864 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.7031, allocations: 496.6 kB / 0.5869 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.7033, allocations: 100.4 kB / 0.587 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.03e-05/0.7034, allocations: 51.98 kB / 0.587 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.7047, allocations: 0.8058 MB / 0.5878 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.7047, allocations: 7.891 kB / 0.5878 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.7048, allocations: 24 kB / 0.5878 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/0.7048, allocations: 36.98 kB / 0.5879 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.7059, allocations: 0.6244 MB / 0.5885 GB, free: 11.66 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.005125/0.711, allocations: 3.958 MB / 0.5923 GB, free: 7.457 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.7116, allocations: 343.6 kB / 0.5927 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.7118, allocations: 24.92 kB / 0.5927 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.7118, allocations: 42.84 kB / 0.5927 GB, free: 7.039 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.715e-06/0.7118, allocations: 3.938 kB / 0.5927 GB, free: 7.035 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005608/0.7174, allocations: 1.683 MB / 0.5944 GB, free: 5.285 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/0.7176, allocations: 132.5 kB / 0.5945 GB, free: 5.125 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008247/0.7184, allocations: 0.6094 MB / 0.5951 GB, free: 4.508 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.7185, allocations: 33.7 kB / 0.5951 GB, free: 4.469 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.7188, allocations: 363 kB / 0.5955 GB, free: 4.109 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.7189, allocations: 142 kB / 0.5956 GB, free: 3.969 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.7189, allocations: 12 kB / 0.5956 GB, free: 3.957 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.7191, allocations: 374.8 kB / 0.596 GB, free: 3.582 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.7195, allocations: 201.9 kB / 0.5962 GB, free: 3.383 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/0.7201, allocations: 0.5125 MB / 0.5967 GB, free: 2.727 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.7206, allocations: 291.7 kB / 0.597 GB, free: 2.441 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7206, allocations: 0 / 0.597 GB, free: 2.441 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001439/0.722, allocations: 0.8725 MB / 0.5978 GB, free: 1.559 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.7221, allocations: 12 kB / 0.5978 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.7221, allocations: 11.95 kB / 0.5978 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.7236, allocations: 321.1 kB / 0.5981 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.724, allocations: 123.8 kB / 0.5983 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.7251, allocations: 0.9347 MB / 0.5992 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.7257, allocations: 48 kB / 0.5992 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.025e-05/0.7258, allocations: 67.98 kB / 0.5993 GB, free: 28 kB / 462.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.0004211/0.7263, allocations: 245.5 kB / 0.5995 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.7264, allocations: 71.16 kB / 0.5996 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.7279, allocations: 0.688 MB / 0.6003 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.7279, allocations: 4 kB / 0.6003 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.7279, allocations: 3.953 kB / 0.6003 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7279, allocations: 0 / 0.6003 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.7299, allocations: 1.266 MB / 0.6015 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.7299, allocations: 0 / 0.6015 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.731, allocations: 203.8 kB / 0.6017 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.752e-05/0.7311, allocations: 28.97 kB / 0.6017 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.7311, allocations: 23.98 kB / 0.6017 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.7333, allocations: 2.688 MB / 0.6044 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7333, allocations: 4.062 kB / 0.6044 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.7347, allocations: 0.8533 MB / 0.6052 GB, free: 9.531 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.735, allocations: 180.3 kB / 0.6054 GB, free: 9.336 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.732e-05/0.7351, allocations: 12 kB / 0.6054 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.7356, allocations: 23.98 kB / 0.6054 GB, free: 9.301 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.7357, allocations: 43.95 kB / 0.6055 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.534e-05/0.7357, allocations: 47.91 kB / 0.6055 GB, free: 9.211 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005535/0.7363, allocations: 427 kB / 0.6059 GB, free: 8.797 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7363, allocations: 0 / 0.6059 GB, free: 8.797 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001057/0.7374, allocations: 295.9 kB / 0.6062 GB, free: 8.508 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002616/0.74, allocations: 1.919 MB / 0.6081 GB, free: 6.535 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.7413, allocations: 0.5373 MB / 0.6086 GB, free: 6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7413, allocations: 0 / 0.6086 GB, free: 6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.7424, allocations: 432.2 kB / 0.609 GB, free: 5.566 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.744, allocations: 326.1 kB / 0.6093 GB, free: 5.258 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009988/0.754, allocations: 10.84 MB / 0.6199 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.7548, allocations: 0.9455 MB / 0.6208 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.7559, allocations: 270.5 kB / 0.6211 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.7564, allocations: 271.3 kB / 0.6213 GB, free: 8.648 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.7564, allocations: 0 / 0.6213 GB, free: 8.648 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3381/1.095, allocations: 23.73 MB / 0.6445 GB, free: 150.7 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/1.095, allocations: 290.4 kB / 0.6448 GB, free: 150.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.723, allocations: 0 / 0.6448 GB, free: 150.4 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat