Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_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.00103/0.00103, allocations: 98.62 kB / 16.93 MB, free: 5.984 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.001144/0.001144, allocations: 175.6 kB / 17.82 MB, free: 5.652 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.458/1.458, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.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.0005227/0.0005228, allocations: 15.28 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.104, allocations: 47.57 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4038/0.5079, allocations: 137.2 MB / 465.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.5105, allocations: 1.946 MB / 467.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.5107, allocations: 7.938 kB / 467.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.5112, allocations: 139.4 kB / 467.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006045/0.5118, allocations: 275.1 kB / 468 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007189/0.5125, allocations: 270 kB / 468.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005452/0.5131, allocations: 487 kB / 468.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.5133, allocations: 73.19 kB / 468.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008367/0.5141, allocations: 438.8 kB / 469.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.5143, allocations: 175.4 kB / 469.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.5144, allocations: 12 kB / 469.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.5147, allocations: 107.9 kB / 469.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.925e-05/0.5148, allocations: 71.78 kB / 469.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.453e-05/0.5149, allocations: 89.58 kB / 469.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.5153, allocations: 393.8 kB / 470.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.5153, allocations: 0 / 470.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5153, allocations: 4 kB / 470.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.5153, allocations: 0 / 470.1 MB, free: 11.04 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007791/0.5161, allocations: 0.527 MB / 470.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.5162, allocations: 8.031 kB / 470.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.09e-05/0.5163, allocations: 62.48 kB / 470.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/0.5165, allocations: 47.61 kB / 470.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.5169, allocations: 266.6 kB / 471 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.517, allocations: 24.56 kB / 471 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.517, allocations: 24 kB / 471 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.5175, allocations: 311.7 kB / 471.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.5175, allocations: 0 / 471.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.5176, allocations: 15.95 kB / 471.4 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.5176, allocations: 12 kB / 471.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.5179, allocations: 209.5 kB / 471.6 MB, free: 9.426 MB / 366.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.001666/0.5196, allocations: 1.57 MB / 473.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.5199, allocations: 166.8 kB / 473.3 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.5199, allocations: 4 kB / 473.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.52, allocations: 34.56 kB / 473.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.52, allocations: 0 / 473.4 MB, free: 7.488 MB / 366.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.00525/0.5252, allocations: 1.638 MB / 475 MB, free: 5.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.5253, allocations: 55.41 kB / 475 MB, free: 5.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.5255, allocations: 256.8 kB / 475.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.5256, allocations: 29.7 kB / 475.3 MB, free: 5.363 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.5257, allocations: 180.2 kB / 475.5 MB, free: 5.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.5258, allocations: 98.48 kB / 475.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.5258, allocations: 11.94 kB / 475.6 MB, free: 5.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.526, allocations: 334.8 kB / 475.9 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.5262, allocations: 91.73 kB / 476 MB, free: 4.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.5264, allocations: 191.8 kB / 476.2 MB, free: 4.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.5266, allocations: 111.9 kB / 476.3 MB, free: 4.305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5266, allocations: 0 / 476.3 MB, free: 4.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005764/0.5272, allocations: 399 kB / 476.7 MB, free: 3.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5272, allocations: 4 kB / 476.7 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5272, allocations: 7.953 kB / 476.7 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.5274, allocations: 73.69 kB / 476.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.5278, allocations: 79.89 kB / 476.9 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.5292, allocations: 1.864 MB / 478.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.5294, allocations: 23.95 kB / 478.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.5295, allocations: 40 kB / 478.8 MB, free: 1.652 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.5297, allocations: 157.7 kB / 479 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.5297, allocations: 27.72 kB / 479 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.5308, allocations: 440.5 kB / 479.4 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.5308, allocations: 7.938 kB / 479.4 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5308, allocations: 0 / 479.4 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005923/0.5314, allocations: 0.5707 MB / 480 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000977/0.5324, allocations: 0.7155 MB / 480.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5324, allocations: 0 / 480.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.5327, allocations: 71.89 kB / 480.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.471e-05/0.5328, allocations: 28.75 kB / 480.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.5328, allocations: 12 kB / 480.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008648/0.5337, allocations: 1.28 MB / 482.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5337, allocations: 256 / 482.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.5343, allocations: 0.5017 MB / 482.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.5344, allocations: 100.8 kB / 482.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.5345, allocations: 11.98 kB / 482.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.5347, allocations: 16.06 kB / 482.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.5348, allocations: 27.92 kB / 482.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.5348, allocations: 27.98 kB / 482.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.535, allocations: 190 kB / 483 MB, free: 13.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.535, allocations: 0 / 483 MB, free: 13.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005041/0.5355, allocations: 120 kB / 483.1 MB, free: 13 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001268/0.5368, allocations: 1.223 MB / 484.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000609/0.5374, allocations: 375.2 kB / 484.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.5375, allocations: 3.938 kB / 484.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.5377, allocations: 230.5 kB / 484.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008539/0.5386, allocations: 165.4 kB / 485.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.542, allocations: 3.825 MB / 488.9 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.5423, allocations: 0.7721 MB / 489.7 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005307/0.5429, allocations: 114.9 kB / 489.8 MB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.5432, allocations: 123.4 kB / 489.9 MB, free: 5.984 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5432, allocations: 0 / 489.9 MB, free: 5.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.5687, allocations: 11.11 MB / 0.4893 GB, free: 10.86 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.569, allocations: 236.3 kB / 0.4895 GB, free: 10.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.635, allocations: 0 / 0.4895 GB, free: 10.61 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat