Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.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) 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(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008434/0.0008436, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008301/0.0008301, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246 MB, free: 10.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000246/0.0002461, allocations: 4 kB / 306.8 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09273, allocations: 51.5 MB / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3243/0.417, allocations: 137.4 MB / 495.7 MB, free: 3.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.4194, allocations: 1.475 MB / 497.2 MB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.4195, allocations: 0 / 497.2 MB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.4198, allocations: 40.25 kB / 497.2 MB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.4203, allocations: 143.4 kB / 497.4 MB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.4229, allocations: 0.7665 MB / 498.1 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005095/0.4234, allocations: 406.7 kB / 498.5 MB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.725e-05/0.4235, allocations: 5.453 kB / 498.5 MB, free: 268 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003588/0.4239, allocations: 135.5 kB / 498.7 MB, free: 132 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.4242, allocations: 127.6 kB / 498.8 MB, free: 4 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.674e-05/0.4243, allocations: 8.047 kB / 498.8 MB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.427, allocations: 1.338 MB / 0.4884 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.4271, allocations: 71.77 kB / 0.4885 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.4272, allocations: 53.64 kB / 0.4885 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.4285, allocations: 0.645 MB / 0.4892 GB, free: 13.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4286, allocations: 3.938 kB / 0.4892 GB, free: 13.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4286, allocations: 0 / 0.4892 GB, free: 13.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.4286, allocations: 0 / 0.4892 GB, free: 13.88 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001945/0.4305, allocations: 0.6481 MB / 0.4898 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4306, allocations: 8.031 kB / 0.4898 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.4307, allocations: 50.48 kB / 0.4899 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.4309, allocations: 20.69 kB / 0.4899 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.4312, allocations: 214.8 kB / 0.4901 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.4312, allocations: 12.28 kB / 0.4901 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.4313, allocations: 19.91 kB / 0.4901 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005605/0.4318, allocations: 262.4 kB / 0.4904 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4319, allocations: 0 / 0.4904 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.4319, allocations: 12 kB / 0.4904 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.4319, allocations: 4 kB / 0.4904 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.4326, allocations: 267.7 kB / 0.4906 GB, free: 12.27 MB / 414.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.001591/0.4342, allocations: 0.7857 MB / 0.4914 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.4348, allocations: 221.2 kB / 0.4916 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.4351, allocations: 129.6 kB / 0.4917 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.4355, allocations: 360.4 kB / 0.4921 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.4356, allocations: 50.3 kB / 0.4921 GB, free: 10.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.904e-06/0.4356, allocations: 0 / 0.4921 GB, free: 10.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002358/0.438, allocations: 0.6694 MB / 0.4928 GB, free: 9.898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.438, allocations: 85.05 kB / 0.4929 GB, free: 9.797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.4382, allocations: 121.8 kB / 0.493 GB, free: 9.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.4382, allocations: 29.7 kB / 0.493 GB, free: 9.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4383, allocations: 116.7 kB / 0.4931 GB, free: 9.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.4384, allocations: 126.1 kB / 0.4932 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.4385, allocations: 4 kB / 0.4932 GB, free: 9.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4386, allocations: 330.8 kB / 0.4936 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.439, allocations: 135.9 kB / 0.4937 GB, free: 8.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.4394, allocations: 207.6 kB / 0.4939 GB, free: 8.691 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.4399, allocations: 147.9 kB / 0.494 GB, free: 8.547 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4399, allocations: 4 kB / 0.494 GB, free: 8.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001149/0.441, allocations: 400.7 kB / 0.4944 GB, free: 8.148 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.4411, allocations: 8 kB / 0.4944 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.4411, allocations: 4.219 kB / 0.4944 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/0.4411, allocations: 7.984 kB / 0.4944 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.4417, allocations: 83.89 kB / 0.4945 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.4417, allocations: 7.984 kB / 0.4945 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.442, allocations: 31.88 kB / 0.4946 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.4421, allocations: 15.98 kB / 0.4946 GB, free: 7.992 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000199/0.4423, allocations: 154.7 kB / 0.4947 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/0.4424, allocations: 19.81 kB / 0.4947 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.4428, allocations: 170.4 kB / 0.4949 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4428, allocations: 4 kB / 0.4949 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.4428, allocations: 0 / 0.4949 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.4428, allocations: 3.984 kB / 0.4949 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.4445, allocations: 0.7596 MB / 0.4956 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4445, allocations: 0 / 0.4956 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.4449, allocations: 77.92 kB / 0.4957 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.4449, allocations: 11.94 kB / 0.4957 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.445, allocations: 12 kB / 0.4957 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.445, allocations: 4 kB / 0.4957 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.445, allocations: 4 kB / 0.4957 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.4463, allocations: 0.7048 MB / 0.4964 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.4464, allocations: 124.8 kB / 0.4966 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.4465, allocations: 11.95 kB / 0.4966 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.4469, allocations: 22.42 kB / 0.4966 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.4469, allocations: 28.03 kB / 0.4966 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.4469, allocations: 15.98 kB / 0.4966 GB, free: 5.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.891e-05/0.447, allocations: 99.58 kB / 0.4967 GB, free: 5.641 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.447, allocations: 0 / 0.4967 GB, free: 5.641 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006075/0.4476, allocations: 139.9 kB / 0.4969 GB, free: 5.504 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002017/0.4497, allocations: 1.373 MB / 0.4982 GB, free: 4.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008575/0.4505, allocations: 346.7 kB / 0.4985 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4505, allocations: 4 kB / 0.4985 GB, free: 3.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.451, allocations: 175.7 kB / 0.4987 GB, free: 3.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006985/0.4517, allocations: 93.75 kB / 0.4988 GB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.4547, allocations: 1.564 MB / 0.5003 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.4551, allocations: 0.7412 MB / 0.501 GB, free: 1.062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004179/0.4555, allocations: 73.91 kB / 0.5011 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.4557, allocations: 63.41 kB / 0.5012 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4557, allocations: 0 / 0.5012 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.4751, allocations: 7.661 MB / 0.5087 GB, free: 9.406 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003627/0.4755, allocations: 167 kB / 0.5088 GB, free: 9.168 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.518, allocations: 0 / 0.5088 GB, free: 9.168 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat