Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001466/0.001466, allocations: 101 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 202.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 45.91 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002321/0.0002321, allocations: 7.984 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1132, allocations: 63.46 MB / 481.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.368/0.4813, allocations: 125.4 MB / 0.5927 GB, free: 7.422 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007584/0.4889, allocations: 4.877 MB / 0.5975 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007085/0.4896, allocations: 23.81 kB / 0.5975 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007993/0.4904, allocations: 274.6 kB / 0.5978 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.4926, allocations: 0.7205 MB / 0.5985 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.4949, allocations: 0.7954 MB / 0.5993 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.4964, allocations: 1.039 MB / 0.6003 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000557/0.497, allocations: 383.1 kB / 0.6006 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009902/0.498, allocations: 0.5725 MB / 0.6012 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007606/0.4987, allocations: 486.4 kB / 0.6017 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.483e-05/0.4988, allocations: 35.94 kB / 0.6017 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.4999, allocations: 435.4 kB / 0.6021 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.5001, allocations: 219.4 kB / 0.6023 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.5003, allocations: 161.4 kB / 0.6025 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.5014, allocations: 0.8062 MB / 0.6033 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.5014, allocations: 3.938 kB / 0.6033 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5014, allocations: 0 / 0.6033 GB, free: 12.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.5014, allocations: 0 / 0.6033 GB, free: 12.62 MB / 446.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.001813/0.5032, allocations: 0.9192 MB / 0.6042 GB, free: 11.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5033, allocations: 12.03 kB / 0.6042 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.5034, allocations: 98.5 kB / 0.6043 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/0.5037, allocations: 87.11 kB / 0.6044 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008257/0.5046, allocations: 0.4966 MB / 0.6048 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.5047, allocations: 104.4 kB / 0.6049 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.5048, allocations: 59.86 kB / 0.605 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.5059, allocations: 0.7955 MB / 0.6058 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.506, allocations: 7.938 kB / 0.6058 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.506, allocations: 27.98 kB / 0.6058 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-05/0.5061, allocations: 40.98 kB / 0.6058 GB, free: 9.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009877/0.5071, allocations: 0.6516 MB / 0.6065 GB, free: 9.148 MB / 446.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.004537/0.5116, allocations: 3.99 MB / 0.6104 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.5124, allocations: 423.9 kB / 0.6108 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005601/0.5129, allocations: 0.7405 MB / 0.6115 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.513, allocations: 38.89 kB / 0.6115 GB, free: 3.504 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.963e-06/0.513, allocations: 0 / 0.6115 GB, free: 3.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003283/0.5163, allocations: 1.527 MB / 0.613 GB, free: 1.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/0.5164, allocations: 140.5 kB / 0.6132 GB, free: 1.734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006629/0.517, allocations: 0.5615 MB / 0.6137 GB, free: 1.164 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.5171, allocations: 33.7 kB / 0.6137 GB, free: 1.125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.5174, allocations: 351 kB / 0.6141 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.5175, allocations: 173.7 kB / 0.6142 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.5176, allocations: 12 kB / 0.6143 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.5177, allocations: 374.7 kB / 0.6146 GB, free: 220 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.5181, allocations: 221.8 kB / 0.6148 GB, free: 0 / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/0.5186, allocations: 0.5052 MB / 0.6153 GB, free: 15.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.5191, allocations: 308.6 kB / 0.6156 GB, free: 15.06 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5191, allocations: 7.938 kB / 0.6156 GB, free: 15.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001683/0.5208, allocations: 0.8986 MB / 0.6165 GB, free: 14.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.5208, allocations: 11.95 kB / 0.6165 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.5209, allocations: 12 kB / 0.6165 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.5222, allocations: 290.9 kB / 0.6168 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.5226, allocations: 123.8 kB / 0.6169 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009777/0.5236, allocations: 0.8879 MB / 0.6178 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.5241, allocations: 39.98 kB / 0.6178 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.5242, allocations: 36.77 kB / 0.6179 GB, free: 12.72 MB / 462.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.0003468/0.5246, allocations: 254 kB / 0.6181 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.5247, allocations: 71.16 kB / 0.6182 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.5259, allocations: 0.7646 MB / 0.6189 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.5259, allocations: 4 kB / 0.6189 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.5259, allocations: 3.984 kB / 0.6189 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.526, allocations: 0 / 0.6189 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.5279, allocations: 1.418 MB / 0.6203 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5279, allocations: 4 kB / 0.6203 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.529, allocations: 208 kB / 0.6205 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.36e-05/0.5291, allocations: 28.83 kB / 0.6205 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.5291, allocations: 12.81 kB / 0.6206 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.5311, allocations: 2.693 MB / 0.6232 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.5311, allocations: 4 kB / 0.6232 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.5325, allocations: 1.072 MB / 0.6242 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.5328, allocations: 216.2 kB / 0.6244 GB, free: 5.473 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.5329, allocations: 8 kB / 0.6244 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.5334, allocations: 39.81 kB / 0.6245 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.5334, allocations: 43.91 kB / 0.6245 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.5335, allocations: 23.98 kB / 0.6245 GB, free: 5.359 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004751/0.534, allocations: 411 kB / 0.6249 GB, free: 4.957 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.534, allocations: 0 / 0.6249 GB, free: 4.957 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008084/0.5348, allocations: 220 kB / 0.6251 GB, free: 4.742 MB / 462.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.002358/0.5372, allocations: 2.177 MB / 0.6273 GB, free: 2.484 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.5384, allocations: 0.5898 MB / 0.6279 GB, free: 1.898 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5384, allocations: 1.5 kB / 0.6279 GB, free: 1.898 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.5395, allocations: 458.8 kB / 0.6283 GB, free: 1.438 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.541, allocations: 327.1 kB / 0.6286 GB, free: 1.125 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009266/0.5503, allocations: 10.43 MB / 0.6388 GB, free: 6.422 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.5511, allocations: 0.9503 MB / 0.6397 GB, free: 5.445 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009638/0.5521, allocations: 203.4 kB / 0.6399 GB, free: 5.254 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/0.5525, allocations: 231.4 kB / 0.6401 GB, free: 5.027 MB / 478.1 MB Notification: Performance of SimCode: time 5.03e-06/0.5525, allocations: 0 / 0.6401 GB, free: 5.027 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03738/0.5899, allocations: 20.23 MB / 0.6599 GB, free: 1.121 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.5901, allocations: 278.7 kB / 0.6602 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/2.922, allocations: 0 / 0.6602 GB, free: 0.7539 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat