Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",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.001097/0.001097, allocations: 94.92 kB / 16.94 MB, free: 5.98 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.001555/0.001555, allocations: 180.2 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.49/1.49, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004771/0.0004772, allocations: 15.38 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1113, allocations: 47.58 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3831/0.4945, allocations: 125.6 MB / 454 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.4956, allocations: 0.8195 MB / 454.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.4957, allocations: 0 / 454.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.4959, allocations: 27.88 kB / 454.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.4966, allocations: 207.3 kB / 455 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.4969, allocations: 95.72 kB / 455.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.4971, allocations: 107.8 kB / 455.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.994e-05/0.4972, allocations: 4 kB / 455.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.4974, allocations: 99.67 kB / 455.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.926e-05/0.4975, allocations: 35.91 kB / 455.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.4976, allocations: 4 kB / 455.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.4981, allocations: 283.7 kB / 455.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.4982, allocations: 15.97 kB / 455.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.4982, allocations: 45.64 kB / 455.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000449/0.4987, allocations: 197.4 kB / 455.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4987, allocations: 0 / 455.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4987, allocations: 0 / 455.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.4987, allocations: 4 kB / 455.9 MB, free: 9.258 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005027/0.4992, allocations: 384 kB / 456.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4993, allocations: 8.031 kB / 456.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.4993, allocations: 38.56 kB / 456.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.5014, allocations: 196.1 kB / 456.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.5017, allocations: 211.4 kB / 456.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.5017, allocations: 8 kB / 456.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.5018, allocations: 11.91 kB / 456.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.5023, allocations: 220 kB / 456.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5023, allocations: 0 / 456.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.5023, allocations: 8 kB / 457 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.5024, allocations: 3.984 kB / 457 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.5028, allocations: 179.8 kB / 457.1 MB, free: 7.906 MB / 350.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.001277/0.5041, allocations: 0.5763 MB / 457.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.5044, allocations: 142.5 kB / 457.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.5044, allocations: 7.938 kB / 457.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.5045, allocations: 30.56 kB / 457.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.5045, allocations: 0 / 457.9 MB, free: 7.074 MB / 350.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005137/0.5096, allocations: 1.299 MB / 459.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.5097, allocations: 51.41 kB / 459.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.5098, allocations: 117.8 kB / 459.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.5098, allocations: 25.7 kB / 459.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.5099, allocations: 104 kB / 459.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.51, allocations: 63.02 kB / 459.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.51, allocations: 7.938 kB / 459.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5101, allocations: 330.8 kB / 459.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.5103, allocations: 67.97 kB / 459.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.5106, allocations: 99.58 kB / 460 MB, free: 4.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.5107, allocations: 76.92 kB / 460.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5107, allocations: 7.953 kB / 460.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004517/0.5112, allocations: 255.4 kB / 460.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5112, allocations: 8 kB / 460.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5112, allocations: 0 / 460.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.5114, allocations: 52.77 kB / 460.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.5117, allocations: 55.95 kB / 460.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004036/0.5122, allocations: 0.5642 MB / 461 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.5123, allocations: 15.89 kB / 461.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.5124, allocations: 23.95 kB / 461.1 MB, free: 3.695 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.5125, allocations: 121.8 kB / 461.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.5126, allocations: 19.83 kB / 461.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008483/0.5134, allocations: 345.7 kB / 461.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5134, allocations: 0 / 461.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.5134, allocations: 4 kB / 461.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5135, allocations: 3.953 kB / 461.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008633/0.5143, allocations: 0.6156 MB / 462.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5143, allocations: 7.938 kB / 462.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.5147, allocations: 63.89 kB / 462.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.657e-05/0.5147, allocations: 24.8 kB / 462.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.5148, allocations: 11.98 kB / 462.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009457/0.5157, allocations: 1.273 MB / 463.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5157, allocations: 0 / 463.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006368/0.5164, allocations: 463.9 kB / 464 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.5164, allocations: 89.05 kB / 464.1 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.5165, allocations: 12.02 kB / 464.1 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.5167, allocations: 12.8 kB / 464.1 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.5168, allocations: 23.97 kB / 464.1 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.5168, allocations: 27.98 kB / 464.2 MB, free: 324 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.42e-05/0.5169, allocations: 87.27 kB / 464.3 MB, free: 236 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5169, allocations: 0 / 464.3 MB, free: 236 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004216/0.5173, allocations: 80 kB / 464.3 MB, free: 156 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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.001242/0.5186, allocations: 1.244 MB / 465.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004556/0.5191, allocations: 207.8 kB / 465.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.5191, allocations: 4 kB / 465.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.5194, allocations: 226.7 kB / 466 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.5199, allocations: 44.33 kB / 466.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.5216, allocations: 1.546 MB / 467.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.5219, allocations: 0.7088 MB / 468.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000477/0.5224, allocations: 73.39 kB / 468.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.5226, allocations: 67.41 kB / 468.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5226, allocations: 0 / 468.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.5433, allocations: 6.869 MB / 475.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003253/0.5437, allocations: 203.1 kB / 475.5 MB, free: 4.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.513, allocations: 0 / 475.5 MB, free: 4.789 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat