Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",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.000894/0.0008939, allocations: 97.22 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.001193/0.001193, allocations: 171.4 kB / 16.56 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.872/1.872, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.4578/0.4578, allocations: 43.54 MB / 314.5 MB, free: 8.949 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.0005285/0.0005287, allocations: 12 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1572, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5118/0.6691, allocations: 144 MB / 0.5731 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.6837, allocations: 8.396 MB / 0.5813 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.6851, allocations: 31.75 kB / 0.5813 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.6865, allocations: 318.5 kB / 0.5816 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005467/0.6919, allocations: 1.493 MB / 0.5831 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004177/0.6961, allocations: 1.221 MB / 0.5842 GB, free: 352 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.6985, allocations: 1.169 MB / 0.5854 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007992/0.6993, allocations: 468.6 kB / 0.5858 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003021/0.7023, allocations: 1.271 MB / 0.5871 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/0.7052, allocations: 1.325 MB / 0.5884 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.7054, allocations: 36 kB / 0.5884 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.7087, allocations: 1.21 MB / 0.5896 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004667/0.7092, allocations: 375 kB / 0.5899 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003648/0.7096, allocations: 229.3 kB / 0.5902 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.7119, allocations: 1.559 MB / 0.5917 GB, free: 8.723 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7119, allocations: 0 / 0.5917 GB, free: 8.723 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.712, allocations: 0 / 0.5917 GB, free: 8.723 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.712, allocations: 0 / 0.5917 GB, free: 8.723 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002908/0.7149, allocations: 1.228 MB / 0.5929 GB, free: 7.445 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.715, allocations: 12.02 kB / 0.5929 GB, free: 7.434 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002237/0.7152, allocations: 130.7 kB / 0.593 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.7167, allocations: 290.6 kB / 0.5933 GB, free: 7.012 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.7179, allocations: 0.5949 MB / 0.5939 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.7181, allocations: 116.7 kB / 0.594 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.7182, allocations: 56 kB / 0.594 GB, free: 6.199 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.7201, allocations: 1.256 MB / 0.5953 GB, free: 4.875 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.7202, allocations: 7.875 kB / 0.5953 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.7203, allocations: 39.98 kB / 0.5953 GB, free: 4.828 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.7204, allocations: 81.27 kB / 0.5954 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.7221, allocations: 1.063 MB / 0.5964 GB, free: 3.684 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.007038/0.7291, allocations: 4.876 MB / 0.6012 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.7296, allocations: 270.6 kB / 0.6015 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.7298, allocations: 117.7 kB / 0.6016 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.7298, allocations: 41.69 kB / 0.6016 GB, free: 14.06 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.434e-06/0.7298, allocations: 0 / 0.6016 GB, free: 14.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.006675/0.7365, allocations: 1.744 MB / 0.6033 GB, free: 12.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.7366, allocations: 136.5 kB / 0.6034 GB, free: 12.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.738, allocations: 0.9349 MB / 0.6044 GB, free: 11.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.738, allocations: 33.7 kB / 0.6044 GB, free: 11.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.7386, allocations: 0.5633 MB / 0.6049 GB, free: 10.49 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.7387, allocations: 134.3 kB / 0.6051 GB, free: 10.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.7387, allocations: 20 kB / 0.6051 GB, free: 10.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.739, allocations: 402.7 kB / 0.6055 GB, free: 9.938 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.7394, allocations: 266.5 kB / 0.6057 GB, free: 9.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008964/0.7403, allocations: 0.8561 MB / 0.6066 GB, free: 8.539 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/0.741, allocations: 459.3 kB / 0.607 GB, free: 8.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.741, allocations: 4 kB / 0.607 GB, free: 8.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002062/0.7431, allocations: 1.232 MB / 0.6082 GB, free: 6.844 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.7432, allocations: 12 kB / 0.6082 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/0.7432, allocations: 23.98 kB / 0.6082 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.7446, allocations: 292.4 kB / 0.6085 GB, free: 6.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.7452, allocations: 211.6 kB / 0.6087 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.7463, allocations: 0.9035 MB / 0.6096 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000966/0.7473, allocations: 67.88 kB / 0.6097 GB, free: 5.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-05/0.7474, allocations: 68 kB / 0.6097 GB, free: 5.254 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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.0005544/0.748, allocations: 343 kB / 0.6101 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.7482, allocations: 94.97 kB / 0.6101 GB, free: 4.816 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009843/0.7492, allocations: 494.3 kB / 0.6106 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.7492, allocations: 4 kB / 0.6106 GB, free: 4.328 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.7492, allocations: 4 kB / 0.6106 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.7492, allocations: 0 / 0.6106 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.7511, allocations: 1.128 MB / 0.6117 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7511, allocations: 0 / 0.6117 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.7521, allocations: 175.8 kB / 0.6119 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.7522, allocations: 24.84 kB / 0.6119 GB, free: 2.938 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.7523, allocations: 12.02 kB / 0.6119 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.7546, allocations: 2.688 MB / 0.6146 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.7546, allocations: 0 / 0.6146 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.7558, allocations: 0.7127 MB / 0.6152 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004185/0.7562, allocations: 211.9 kB / 0.6155 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.7563, allocations: 8.828 kB / 0.6155 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/0.7568, allocations: 31.98 kB / 0.6155 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.7569, allocations: 27.95 kB / 0.6155 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.7569, allocations: 16 kB / 0.6155 GB, free: 14.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008826/0.7578, allocations: 0.6165 MB / 0.6161 GB, free: 14.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7578, allocations: 4 kB / 0.6161 GB, free: 14.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001625/0.7595, allocations: 415.9 kB / 0.6165 GB, free: 13.88 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * 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.003517/0.763, allocations: 1.866 MB / 0.6184 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.7645, allocations: 0.6604 MB / 0.619 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.7645, allocations: 0 / 0.619 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009429/0.7655, allocations: 372.5 kB / 0.6194 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.7674, allocations: 411.2 kB / 0.6197 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2529/1.02, allocations: 19.02 MB / 0.6383 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/1.021, allocations: 1.044 MB / 0.6393 GB, free: 143.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001087/1.022, allocations: 309.2 kB / 0.6396 GB, free: 143.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/1.023, allocations: 315.8 kB / 0.6399 GB, free: 143.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.502e-06/1.023, allocations: 0 / 0.6399 GB, free: 143.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0703/1.093, allocations: 30.49 MB / 0.6697 GB, free: 136.9 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/1.093, allocations: 312.2 kB / 0.67 GB, free: 136.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.725, allocations: 0 / 0.67 GB, free: 136.6 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat