Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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) 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(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",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.001006/0.001006, allocations: 86.8 kB / 16.31 MB, free: 6.449 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.001142/0.001141, allocations: 183.4 kB / 17.21 MB, free: 6.316 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.4/1.4, allocations: 223.2 MB / 241.2 MB, free: 5.336 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.0002621, allocations: 7.344 kB / 300.9 MB, free: 6.348 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 50.42 MB / 351.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03033/0.1554, allocations: 24.53 MB / 375.9 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.158, allocations: 2.07 MB / 377.9 MB, free: 1.023 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.1581, allocations: 0 / 377.9 MB, free: 1.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1584, allocations: 47.78 kB / 378 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.1588, allocations: 139.2 kB / 378.1 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01287/0.1716, allocations: 4.833 MB / 383 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.1722, allocations: 390.7 kB / 383.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.592e-05/0.1722, allocations: 9.125 kB / 383.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.1725, allocations: 131.5 kB / 383.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.1727, allocations: 119.6 kB / 383.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.1727, allocations: 8 kB / 383.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01714/0.1899, allocations: 8.307 MB / 391.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.1902, allocations: 63.84 kB / 392 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.1904, allocations: 53.64 kB / 392 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007199/0.1976, allocations: 3.017 MB / 395 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1976, allocations: 7.938 kB / 395 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1976, allocations: 0 / 395 MB, free: 15.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1976, allocations: 0 / 395 MB, free: 15.9 MB / 334.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.003339/0.201, allocations: 1.076 MB / 396.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.201, allocations: 8.031 kB / 396.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.2011, allocations: 54.55 kB / 396.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.2013, allocations: 23.75 kB / 396.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.2016, allocations: 206.8 kB / 396.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2016, allocations: 12.33 kB / 396.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.2017, allocations: 23.86 kB / 396.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.2024, allocations: 293.4 kB / 396.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2024, allocations: 0 / 396.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.2024, allocations: 8 kB / 396.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.2025, allocations: 12 kB / 396.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007523/0.2032, allocations: 311.7 kB / 397.1 MB, free: 13.78 MB / 334.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.001497/0.2047, allocations: 0.8207 MB / 397.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007088/0.2055, allocations: 249.1 kB / 398.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.2058, allocations: 133.6 kB / 398.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/0.2204, allocations: 12.91 MB / 411.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.2204, allocations: 42.52 kB / 411.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.525e-06/0.2204, allocations: 4 kB / 411.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002587/0.223, allocations: 0.6867 MB / 411.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.2231, allocations: 85.11 kB / 412 MB, free: 12.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.2232, allocations: 121.8 kB / 412.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.2233, allocations: 33.7 kB / 412.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.2233, allocations: 108.8 kB / 412.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.2235, allocations: 126.1 kB / 412.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.2235, allocations: 12 kB / 412.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2236, allocations: 326.8 kB / 412.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.224, allocations: 131.9 kB / 412.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.2244, allocations: 207.6 kB / 413 MB, free: 11.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.2248, allocations: 159.8 kB / 413.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2248, allocations: 4 kB / 413.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001067/0.2259, allocations: 415 kB / 413.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2259, allocations: 8 kB / 413.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.226, allocations: 0 / 413.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.226, allocations: 4 kB / 413.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.2264, allocations: 88.09 kB / 413.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.2264, allocations: 7.938 kB / 413.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.2267, allocations: 39.81 kB / 413.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.2268, allocations: 16 kB / 413.7 MB, free: 10.39 MB / 350.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.0001448/0.2269, allocations: 145.7 kB / 413.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.2271, allocations: 19.81 kB / 413.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.2276, allocations: 192.1 kB / 414.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.2276, allocations: 4 kB / 414.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2276, allocations: 4 kB / 414.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2276, allocations: 3.984 kB / 414.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.2292, allocations: 0.7617 MB / 414.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2292, allocations: 0 / 414.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.2296, allocations: 71.89 kB / 414.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.2297, allocations: 8.156 kB / 414.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.2297, allocations: 19.94 kB / 415 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2297, allocations: 7.984 kB / 415 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2297, allocations: 4 kB / 415 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.2311, allocations: 0.6984 MB / 415.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.2313, allocations: 120.9 kB / 415.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.2313, allocations: 12 kB / 415.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.2317, allocations: 31.77 kB / 415.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.2317, allocations: 23.97 kB / 415.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.2318, allocations: 15.98 kB / 415.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.12e-05/0.2318, allocations: 107.3 kB / 416 MB, free: 8.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2318, allocations: 0 / 416 MB, free: 8.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002518/0.2344, allocations: 0.9331 MB / 416.9 MB, free: 7.082 MB / 350.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 (37): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005916/0.2403, allocations: 2.323 MB / 419.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009012/0.2412, allocations: 335.6 kB / 419.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2412, allocations: 0 / 419.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.2416, allocations: 176.5 kB / 419.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.2423, allocations: 99.91 kB / 419.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.2462, allocations: 1.855 MB / 421.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.2465, allocations: 0.7336 MB / 422.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004199/0.247, allocations: 90.02 kB / 422.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.2472, allocations: 67.41 kB / 422.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2472, allocations: 0 / 422.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2211/0.4682, allocations: 32.36 MB / 454.9 MB, free: 46.3 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001297/0.4684, allocations: 219.5 kB / 455.1 MB, free: 46.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.175/3.643, allocations: 0 / 455.1 MB, free: 46.06 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat