Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_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.001145/0.001145, allocations: 95.19 kB / 16.99 MB, free: 5.941 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.001347/0.001347, allocations: 183.3 kB / 17.87 MB, free: 5.609 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.378/1.378, allocations: 223.2 MB / 241.8 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1417, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3875/0.5292, allocations: 126.9 MB / 0.5845 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.531, allocations: 1.322 MB / 0.5857 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.531, allocations: 0 / 0.5857 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.5312, allocations: 27.92 kB / 0.5858 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.5332, allocations: 0.7573 MB / 0.5865 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.825e-06/0.5332, allocations: 0.8438 kB / 0.5865 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.5333, allocations: 31.89 kB / 0.5865 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.5333, allocations: 0 / 0.5865 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.23e-05/0.5333, allocations: 15.97 kB / 0.5866 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.5334, allocations: 19.88 kB / 0.5866 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.764e-06/0.5334, allocations: 0 / 0.5866 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.5359, allocations: 1.63 MB / 0.5882 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.536, allocations: 11.98 kB / 0.5882 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.536, allocations: 29.7 kB / 0.5882 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008135/0.5368, allocations: 0.5557 MB / 0.5888 GB, free: 14.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5368, allocations: 3.938 kB / 0.5888 GB, free: 14.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5368, allocations: 0 / 0.5888 GB, free: 14.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.5369, allocations: 4 kB / 0.5888 GB, free: 14.38 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005764/0.5374, allocations: 479.1 kB / 0.5892 GB, free: 13.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.5375, allocations: 8.031 kB / 0.5892 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.5375, allocations: 42.55 kB / 0.5893 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.5376, allocations: 4.688 kB / 0.5893 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/0.5376, allocations: 175 kB / 0.5894 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.5377, allocations: 3.938 kB / 0.5894 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.5377, allocations: 4 kB / 0.5894 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.5378, allocations: 73.61 kB / 0.5895 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.5378, allocations: 4 kB / 0.5895 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.5379, allocations: 3.984 kB / 0.5895 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.5379, allocations: 4 kB / 0.5895 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.538, allocations: 55.97 kB / 0.5896 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.5384, allocations: 300.7 kB / 0.5899 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.579e-05/0.5384, allocations: 34.5 kB / 0.5899 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.5386, allocations: 255.4 kB / 0.5901 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.5387, allocations: 38.67 kB / 0.5902 GB, free: 12.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5387, allocations: 3.938 kB / 0.5902 GB, free: 12.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001592/0.5389, allocations: 53.67 kB / 0.5902 GB, free: 12.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.5389, allocations: 55.36 kB / 0.5903 GB, free: 12.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.432e-05/0.539, allocations: 101.8 kB / 0.5904 GB, free: 12.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.539, allocations: 29.7 kB / 0.5904 GB, free: 12.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.539, allocations: 103.9 kB / 0.5905 GB, free: 12.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.539, allocations: 15.81 kB / 0.5905 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.5391, allocations: 0 / 0.5905 GB, free: 12.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.5392, allocations: 314.8 kB / 0.5908 GB, free: 12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.5392, allocations: 8 kB / 0.5908 GB, free: 11.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.5392, allocations: 35.42 kB / 0.5909 GB, free: 11.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.918e-05/0.5393, allocations: 12 kB / 0.5909 GB, free: 11.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5393, allocations: 0 / 0.5909 GB, free: 11.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001012/0.5394, allocations: 77.55 kB / 0.591 GB, free: 11.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.5394, allocations: 7.938 kB / 0.591 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5394, allocations: 0 / 0.591 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5394, allocations: 4 kB / 0.591 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.5395, allocations: 8 kB / 0.591 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.5395, allocations: 7.984 kB / 0.591 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.753e-05/0.5396, allocations: 15.89 kB / 0.591 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.5396, allocations: 8 kB / 0.591 GB, free: 11.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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 7.095e-05/0.5397, allocations: 110.4 kB / 0.5911 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.5397, allocations: 0 / 0.5911 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.5399, allocations: 69.11 kB / 0.5912 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5399, allocations: 4 kB / 0.5912 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5399, allocations: 0 / 0.5912 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.5399, allocations: 0 / 0.5912 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.54, allocations: 166.1 kB / 0.5913 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.54, allocations: 3.984 kB / 0.5913 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.5401, allocations: 8 kB / 0.5913 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5401, allocations: 0 / 0.5913 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.5401, allocations: 0 / 0.5913 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.5401, allocations: 0 / 0.5913 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5401, allocations: 4 kB / 0.5913 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.5402, allocations: 159.3 kB / 0.5915 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.5403, allocations: 85.09 kB / 0.5916 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.5403, allocations: 3.938 kB / 0.5916 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.051e-05/0.5404, allocations: 0 / 0.5916 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.5404, allocations: 4 kB / 0.5916 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.5404, allocations: 2.062 kB / 0.5916 GB, free: 11.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.5404, allocations: 83.27 kB / 0.5917 GB, free: 11.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5405, allocations: 0 / 0.5917 GB, free: 11.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004905/0.5409, allocations: 135.9 kB / 0.5918 GB, free: 10.88 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.001006/0.542, allocations: 0.8785 MB / 0.5927 GB, free: 9.984 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.82e-05/0.5421, allocations: 27.92 kB / 0.5927 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5421, allocations: 0 / 0.5927 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.5421, allocations: 24.11 kB / 0.5927 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.5423, allocations: 6.344 kB / 0.5927 GB, free: 9.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.5429, allocations: 250 kB / 0.593 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.5432, allocations: 0.6852 MB / 0.5936 GB, free: 8.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.085e-05/0.5432, allocations: 16.77 kB / 0.5936 GB, free: 8.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.5433, allocations: 15.42 kB / 0.5937 GB, free: 8.898 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5433, allocations: 0 / 0.5937 GB, free: 8.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.5563, allocations: 4.221 MB / 0.5978 GB, free: 4.781 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.5565, allocations: 208.8 kB / 0.598 GB, free: 4.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.351, allocations: 4 kB / 0.598 GB, free: 4.539 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat