Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.001385/0.001386, allocations: 94.09 kB / 16.98 MB, free: 5.934 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.001529/0.001529, allocations: 180.6 kB / 17.87 MB, free: 5.598 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.349/1.349, allocations: 223.2 MB / 241.8 MB, free: 392 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.203/0.203, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.000306, allocations: 9.531 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1086, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3569/0.4656, allocations: 125.4 MB / 0.5829 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009704/0.4753, allocations: 4.877 MB / 0.5877 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.4764, allocations: 23.81 kB / 0.5877 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.4777, allocations: 278.6 kB / 0.588 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.4803, allocations: 0.7166 MB / 0.5887 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.4834, allocations: 0.8027 MB / 0.5895 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00219/0.4856, allocations: 1.038 MB / 0.5905 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000735/0.4864, allocations: 389.2 kB / 0.5908 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.4879, allocations: 0.5725 MB / 0.5914 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009802/0.4889, allocations: 482.4 kB / 0.5919 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.489, allocations: 32 kB / 0.5919 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.4905, allocations: 435.4 kB / 0.5923 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.4908, allocations: 211.4 kB / 0.5925 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.4911, allocations: 165.3 kB / 0.5927 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.4923, allocations: 0.8024 MB / 0.5934 GB, free: 9.301 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4923, allocations: 0 / 0.5934 GB, free: 9.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4923, allocations: 0 / 0.5934 GB, free: 9.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.4923, allocations: 4 kB / 0.5934 GB, free: 9.297 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002404/0.4947, allocations: 0.923 MB / 0.5943 GB, free: 8.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.4948, allocations: 12.56 kB / 0.5944 GB, free: 8.312 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.495, allocations: 102.5 kB / 0.5945 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005223/0.4955, allocations: 87.14 kB / 0.5945 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.4967, allocations: 0.5005 MB / 0.595 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.4969, allocations: 100.4 kB / 0.5951 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.497, allocations: 48 kB / 0.5952 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.4989, allocations: 0.8071 MB / 0.596 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.4989, allocations: 7.938 kB / 0.596 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.923e-05/0.499, allocations: 20 kB / 0.596 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-05/0.4991, allocations: 36.98 kB / 0.596 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.5007, allocations: 0.6478 MB / 0.5967 GB, free: 5.832 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.007073/0.5078, allocations: 3.982 MB / 0.6005 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.509, allocations: 424.2 kB / 0.6009 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008173/0.5099, allocations: 0.7366 MB / 0.6017 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.5099, allocations: 42.89 kB / 0.6017 GB, free: 192 kB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.825e-06/0.5099, allocations: 0 / 0.6017 GB, free: 192 kB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.004856/0.5148, allocations: 1.541 MB / 0.6032 GB, free: 14.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.151e-05/0.5149, allocations: 136.5 kB / 0.6033 GB, free: 14.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.516, allocations: 0.5615 MB / 0.6039 GB, free: 13.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.789e-05/0.5161, allocations: 37.7 kB / 0.6039 GB, free: 13.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.5165, allocations: 351 kB / 0.6043 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.5167, allocations: 165.7 kB / 0.6044 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.5167, allocations: 12 kB / 0.6044 GB, free: 13.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.5169, allocations: 378.8 kB / 0.6048 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.5175, allocations: 213.9 kB / 0.605 GB, free: 12.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.5187, allocations: 0.5084 MB / 0.6055 GB, free: 12.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.5194, allocations: 304.5 kB / 0.6058 GB, free: 11.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.5194, allocations: 4 kB / 0.6058 GB, free: 11.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002968/0.5224, allocations: 0.9058 MB / 0.6067 GB, free: 10.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.5225, allocations: 8 kB / 0.6067 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.5225, allocations: 12 kB / 0.6067 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/0.5246, allocations: 291.6 kB / 0.607 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.5252, allocations: 123.8 kB / 0.6071 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.5268, allocations: 0.8839 MB / 0.608 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/0.5277, allocations: 48.03 kB / 0.608 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.832e-05/0.5278, allocations: 36 kB / 0.608 GB, free: 9.406 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005258/0.5283, allocations: 241.5 kB / 0.6083 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.5285, allocations: 75.11 kB / 0.6083 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.5305, allocations: 0.7742 MB / 0.6091 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.5305, allocations: 4.875 kB / 0.6091 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5305, allocations: 3.938 kB / 0.6091 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.5305, allocations: 7.922 kB / 0.6091 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/0.5336, allocations: 1.411 MB / 0.6105 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.5337, allocations: 4 kB / 0.6105 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/0.5353, allocations: 199.8 kB / 0.6107 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.5354, allocations: 29.02 kB / 0.6107 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.5354, allocations: 16 kB / 0.6107 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/0.5383, allocations: 2.692 MB / 0.6133 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.5383, allocations: 4.062 kB / 0.6134 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.5403, allocations: 1.076 MB / 0.6144 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004906/0.5408, allocations: 212.2 kB / 0.6146 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.5409, allocations: 12 kB / 0.6146 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.5416, allocations: 35.89 kB / 0.6147 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5417, allocations: 43.88 kB / 0.6147 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.5418, allocations: 23.98 kB / 0.6147 GB, free: 2.043 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007019/0.5425, allocations: 407.1 kB / 0.6151 GB, free: 1.648 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5425, allocations: 0 / 0.6151 GB, free: 1.648 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001269/0.5438, allocations: 220 kB / 0.6153 GB, free: 1.434 MB / 446.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003097/0.5469, allocations: 2.176 MB / 0.6174 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.5487, allocations: 0.5949 MB / 0.618 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.5487, allocations: 4 kB / 0.618 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.5502, allocations: 459.3 kB / 0.6185 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.5523, allocations: 317.9 kB / 0.6188 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.5654, allocations: 10.44 MB / 0.629 GB, free: 3.117 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/0.5662, allocations: 0.9503 MB / 0.6299 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001182/0.5674, allocations: 205.3 kB / 0.6301 GB, free: 1.949 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004719/0.5679, allocations: 239.3 kB / 0.6303 GB, free: 1.715 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5679, allocations: 3.938 kB / 0.6303 GB, free: 1.711 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03975/0.6076, allocations: 20.22 MB / 0.6501 GB, free: 13.82 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.6079, allocations: 271.8 kB / 0.6503 GB, free: 13.47 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/2.983, allocations: 8 kB / 0.6503 GB, free: 13.46 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat