Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_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.0009345/0.0009345, allocations: 95.41 kB / 17 MB, free: 6.414 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.0009706/0.0009708, allocations: 188.7 kB / 17.89 MB, free: 5.945 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.353/1.353, allocations: 223.2 MB / 241.9 MB, free: 256 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.2024/0.2024, allocations: 44.22 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003089, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1257, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4747/0.6004, allocations: 159 MB / 0.6158 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008583/0.6091, allocations: 5.094 MB / 0.6208 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.6103, allocations: 27.75 kB / 0.6208 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008785/0.6112, allocations: 262.4 kB / 0.6211 GB, free: 14.72 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003197/0.6144, allocations: 1.171 MB / 0.6222 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.6168, allocations: 0.8273 MB / 0.623 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002556/0.6193, allocations: 2.242 MB / 0.6252 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006127/0.62, allocations: 376 kB / 0.6256 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.6219, allocations: 0.9029 MB / 0.6265 GB, free: 9.207 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.6231, allocations: 0.7317 MB / 0.6272 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.86e-05/0.6232, allocations: 32 kB / 0.6272 GB, free: 8.441 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.6244, allocations: 455.3 kB / 0.6277 GB, free: 7.996 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.6247, allocations: 235.3 kB / 0.6279 GB, free: 7.766 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.6249, allocations: 161.4 kB / 0.628 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009772/0.6258, allocations: 0.9313 MB / 0.6289 GB, free: 6.668 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.6259, allocations: 4 kB / 0.629 GB, free: 6.664 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6259, allocations: 4 kB / 0.629 GB, free: 6.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.6259, allocations: 0 / 0.629 GB, free: 6.66 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.00182/0.6277, allocations: 0.9465 MB / 0.6299 GB, free: 5.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.6278, allocations: 12.03 kB / 0.6299 GB, free: 5.648 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.6279, allocations: 94.52 kB / 0.63 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007219/0.6286, allocations: 135.1 kB / 0.6301 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007384/0.6294, allocations: 0.4927 MB / 0.6306 GB, free: 4.883 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.853e-05/0.6295, allocations: 106.2 kB / 0.6307 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/0.6296, allocations: 55.97 kB / 0.6307 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.6307, allocations: 0.8019 MB / 0.6315 GB, free: 3.836 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.6308, allocations: 4 kB / 0.6315 GB, free: 3.832 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.6308, allocations: 24 kB / 0.6316 GB, free: 3.809 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.748e-05/0.6309, allocations: 56.78 kB / 0.6316 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009532/0.6318, allocations: 0.6166 MB / 0.6322 GB, free: 3.137 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.004107/0.636, allocations: 3.966 MB / 0.6361 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005593/0.6365, allocations: 353.6 kB / 0.6364 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.6368, allocations: 173.3 kB / 0.6366 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.6369, allocations: 89.38 kB / 0.6367 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.637, allocations: 38.84 kB / 0.6367 GB, free: 14.24 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.083e-06/0.637, allocations: 3.938 kB / 0.6367 GB, free: 14.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.004899/0.6419, allocations: 1.662 MB / 0.6383 GB, free: 12.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.642, allocations: 136.5 kB / 0.6385 GB, free: 12.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006698/0.6426, allocations: 0.6055 MB / 0.6391 GB, free: 11.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.6427, allocations: 37.7 kB / 0.6391 GB, free: 11.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.6429, allocations: 366.8 kB / 0.6394 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.6431, allocations: 142 kB / 0.6396 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.6431, allocations: 20 kB / 0.6396 GB, free: 11.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6433, allocations: 374.8 kB / 0.64 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.6436, allocations: 197.9 kB / 0.6401 GB, free: 10.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.6441, allocations: 0.5125 MB / 0.6406 GB, free: 9.926 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.6446, allocations: 296.5 kB / 0.6409 GB, free: 9.637 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6446, allocations: 8 kB / 0.6409 GB, free: 9.629 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001317/0.6459, allocations: 0.8761 MB / 0.6418 GB, free: 8.742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.6459, allocations: 18.72 kB / 0.6418 GB, free: 8.727 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.646, allocations: 8 kB / 0.6418 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.6472, allocations: 324.6 kB / 0.6421 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.6476, allocations: 119.8 kB / 0.6422 GB, free: 8.281 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.6486, allocations: 0.9336 MB / 0.6432 GB, free: 7.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.6491, allocations: 43.89 kB / 0.6432 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.632e-05/0.6492, allocations: 63.98 kB / 0.6433 GB, free: 7.219 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.0003424/0.6496, allocations: 253.5 kB / 0.6435 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.6497, allocations: 71.19 kB / 0.6436 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.6513, allocations: 0.8618 MB / 0.6444 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6513, allocations: 4 kB / 0.6444 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6514, allocations: 3.984 kB / 0.6444 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.6514, allocations: 0 / 0.6444 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.6535, allocations: 1.442 MB / 0.6458 GB, free: 4.426 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.6535, allocations: 4 kB / 0.6458 GB, free: 4.422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.6547, allocations: 215.9 kB / 0.646 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.546e-05/0.6548, allocations: 28.78 kB / 0.6461 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/0.6549, allocations: 23.94 kB / 0.6461 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.6567, allocations: 2.688 MB / 0.6487 GB, free: 1.207 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6567, allocations: 4.031 kB / 0.6487 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.658, allocations: 0.8169 MB / 0.6495 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.6583, allocations: 188.2 kB / 0.6497 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.6584, allocations: 8 kB / 0.6497 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.6588, allocations: 27.97 kB / 0.6497 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/0.6589, allocations: 44.02 kB / 0.6498 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.659, allocations: 43.98 kB / 0.6498 GB, free: 24 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005099/0.6595, allocations: 427 kB / 0.6502 GB, free: 15.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6595, allocations: 3.938 kB / 0.6502 GB, free: 15.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00101/0.6605, allocations: 251.9 kB / 0.6505 GB, free: 15.36 MB / 494.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.002492/0.663, allocations: 1.557 MB / 0.652 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.6642, allocations: 0.539 MB / 0.6525 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6643, allocations: 4 kB / 0.6525 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009962/0.6653, allocations: 414.3 kB / 0.6529 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.6669, allocations: 343.2 kB / 0.6532 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006717/0.6737, allocations: 4.24 MB / 0.6574 GB, free: 8.023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/0.6743, allocations: 0.9339 MB / 0.6583 GB, free: 7.062 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001418/0.6758, allocations: 462.4 kB / 0.6587 GB, free: 6.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/0.6763, allocations: 291.2 kB / 0.659 GB, free: 6.324 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6763, allocations: 0 / 0.659 GB, free: 6.324 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04422/0.7206, allocations: 22.74 MB / 0.6812 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.7208, allocations: 287.1 kB / 0.6815 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/3.41, allocations: 4 kB / 0.6815 GB, free: 15.59 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat