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.0009738/0.0009738, allocations: 92.53 kB / 16.3 MB, free: 5.996 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.0009567/0.0009568, allocations: 184.5 kB / 17.2 MB, free: 5.914 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.291/1.291, allocations: 223.2 MB / 241.1 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003151, allocations: 7.031 kB / 300.8 MB, free: 6 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 50.43 MB / 351.2 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02832/0.1435, allocations: 21.92 MB / 373.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.146, allocations: 1.887 MB / 375 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.64e-05/0.1461, allocations: 0 / 375 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.1464, allocations: 47.78 kB / 375.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.1468, allocations: 115.5 kB / 375.2 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01386/0.1606, allocations: 4.74 MB / 379.9 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.161, allocations: 179.7 kB / 380.1 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.486e-05/0.1611, allocations: 13.11 kB / 380.1 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.1614, allocations: 127.7 kB / 380.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.1615, allocations: 79.73 kB / 380.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.1616, allocations: 8 kB / 380.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01582/0.1774, allocations: 8.33 MB / 388.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.1776, allocations: 63.8 kB / 388.7 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1777, allocations: 61.58 kB / 388.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006859/0.1846, allocations: 2.947 MB / 391.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1846, allocations: 0 / 391.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.1846, allocations: 4 kB / 391.7 MB, free: 3.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1847, allocations: 0 / 391.7 MB, free: 3.031 MB / 318.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.003343/0.188, allocations: 1.061 MB / 392.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1881, allocations: 8.031 kB / 392.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.599e-05/0.1881, allocations: 50.55 kB / 392.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.1883, allocations: 23.81 kB / 392.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1885, allocations: 222.8 kB / 393.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1886, allocations: 12.27 kB / 393.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.1886, allocations: 23.86 kB / 393.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006793/0.1893, allocations: 289.4 kB / 393.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1893, allocations: 7.922 kB / 393.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.1894, allocations: 8 kB / 393.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.1894, allocations: 8 kB / 393.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007662/0.1901, allocations: 307.8 kB / 393.7 MB, free: 0.918 MB / 318.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.001432/0.1916, allocations: 0.8324 MB / 394.6 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/0.1923, allocations: 249.1 kB / 394.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01493/0.2072, allocations: 12.9 MB / 407.7 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.2073, allocations: 42.56 kB / 407.8 MB, free: 292 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.324e-06/0.2073, allocations: 0 / 407.8 MB, free: 292 kB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002737/0.2101, allocations: 0.6934 MB / 408.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.2101, allocations: 81.11 kB / 408.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2103, allocations: 129.8 kB / 408.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.2103, allocations: 37.64 kB / 408.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.2104, allocations: 108.8 kB / 408.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.2105, allocations: 130.1 kB / 408.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.2106, allocations: 8 kB / 408.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2107, allocations: 322.8 kB / 409.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.211, allocations: 139.9 kB / 409.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.2115, allocations: 203.5 kB / 409.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.2119, allocations: 153.4 kB / 409.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2119, allocations: 7.953 kB / 409.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001078/0.213, allocations: 411.2 kB / 410.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.2131, allocations: 4 kB / 410.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2131, allocations: 4 kB / 410.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2131, allocations: 12.22 kB / 410.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.2136, allocations: 87.86 kB / 410.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.2136, allocations: 7.938 kB / 410.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.2139, allocations: 35.83 kB / 410.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.214, allocations: 15.98 kB / 410.3 MB, free: 13.65 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.0001543/0.2141, allocations: 145.8 kB / 410.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.2142, allocations: 19.77 kB / 410.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.2147, allocations: 196.5 kB / 410.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2147, allocations: 4 kB / 410.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.2148, allocations: 0 / 410.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2148, allocations: 0 / 410.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.2165, allocations: 0.7597 MB / 411.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2165, allocations: 0 / 411.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.2169, allocations: 84.03 kB / 411.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.2169, allocations: 4 kB / 411.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.2169, allocations: 12 kB / 411.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.2169, allocations: 3.953 kB / 411.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.2169, allocations: 7.938 kB / 411.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.2184, allocations: 0.767 MB / 412.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.2186, allocations: 124.9 kB / 412.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.2186, allocations: 16.06 kB / 412.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.219, allocations: 23.84 kB / 412.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.219, allocations: 31.91 kB / 412.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.2191, allocations: 11.98 kB / 412.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.2192, allocations: 99.27 kB / 412.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2192, allocations: 0 / 412.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002897/0.2221, allocations: 0.937 MB / 413.5 MB, free: 10.24 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.006203/0.2283, allocations: 2.807 MB / 416.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.2294, allocations: 331.7 kB / 416.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.2294, allocations: 0 / 416.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004966/0.2299, allocations: 186.8 kB / 416.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006414/0.2305, allocations: 87.91 kB / 416.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.2352, allocations: 3.051 MB / 420 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.2356, allocations: 0.7413 MB / 420.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004471/0.236, allocations: 85.83 kB / 420.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.2362, allocations: 71.39 kB / 420.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2362, allocations: 0 / 420.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2217/0.4579, allocations: 32.33 MB / 453.2 MB, free: 47.64 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001302/0.4581, allocations: 214.5 kB / 453.4 MB, free: 47.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.08/3.539, allocations: 0 / 453.4 MB, free: 47.41 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