Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",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.001056/0.001056, allocations: 93.92 kB / 16.98 MB, free: 5.938 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.001131/0.001132, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.503/1.503, allocations: 223.2 MB / 241.8 MB, free: 380 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.1989/0.1989, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 61.91 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3828/0.5021, allocations: 115.3 MB / 0.5731 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004674/0.5068, allocations: 3.831 MB / 0.5768 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.507, allocations: 7.938 kB / 0.5768 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.5073, allocations: 39.78 kB / 0.5769 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.5089, allocations: 0.6332 MB / 0.5775 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.5094, allocations: 144.8 kB / 0.5776 GB, free: 9.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005352/0.5099, allocations: 263.4 kB / 0.5779 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.714e-05/0.51, allocations: 9.688 kB / 0.5779 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.5102, allocations: 147.5 kB / 0.578 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.5105, allocations: 159.5 kB / 0.5782 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.5105, allocations: 12 kB / 0.5782 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.512, allocations: 0.6086 MB / 0.5788 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.5121, allocations: 47.86 kB / 0.5788 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.5122, allocations: 69.58 kB / 0.5789 GB, free: 8.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.5127, allocations: 290.2 kB / 0.5792 GB, free: 7.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.5127, allocations: 4 kB / 0.5792 GB, free: 7.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5127, allocations: 0 / 0.5792 GB, free: 7.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.5127, allocations: 0 / 0.5792 GB, free: 7.918 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00105/0.5137, allocations: 0.539 MB / 0.5797 GB, free: 7.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.5138, allocations: 8.031 kB / 0.5797 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.548e-05/0.5139, allocations: 66.55 kB / 0.5798 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.5141, allocations: 23.81 kB / 0.5798 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.5144, allocations: 226.7 kB / 0.58 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.5145, allocations: 127.4 kB / 0.5801 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.5146, allocations: 23.98 kB / 0.5802 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.5151, allocations: 318.8 kB / 0.5805 GB, free: 6.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.5151, allocations: 3.938 kB / 0.5805 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.5152, allocations: 12 kB / 0.5805 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.5152, allocations: 4 kB / 0.5805 GB, free: 6.434 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008571/0.5161, allocations: 0.7391 MB / 0.5812 GB, free: 5.695 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.00165/0.5177, allocations: 1.269 MB / 0.5825 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.5182, allocations: 175.7 kB / 0.5826 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002577/0.5208, allocations: 2.64 MB / 0.5852 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.5208, allocations: 34.55 kB / 0.5852 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.5208, allocations: 0 / 0.5852 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.000665/0.5215, allocations: 232.7 kB / 0.5855 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.5216, allocations: 51.41 kB / 0.5855 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.5218, allocations: 219.7 kB / 0.5857 GB, free: 444 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.5219, allocations: 33.7 kB / 0.5857 GB, free: 404 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.5221, allocations: 199 kB / 0.5859 GB, free: 196 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.5221, allocations: 59.23 kB / 0.586 GB, free: 136 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.5222, allocations: 12 kB / 0.586 GB, free: 124 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002505/0.5224, allocations: 326.8 kB / 0.5863 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.5225, allocations: 52.83 kB / 0.5864 GB, free: 15.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.5229, allocations: 325.1 kB / 0.5867 GB, free: 15.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.5231, allocations: 99.86 kB / 0.5868 GB, free: 15.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.5231, allocations: 4 kB / 0.5868 GB, free: 15.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006058/0.5238, allocations: 373 kB / 0.5871 GB, free: 14.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.5238, allocations: 8 kB / 0.5871 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.5238, allocations: 15.98 kB / 0.5872 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/0.5239, allocations: 12 kB / 0.5872 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.5242, allocations: 108.5 kB / 0.5873 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.596e-05/0.5243, allocations: 23.92 kB / 0.5873 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.5245, allocations: 23.94 kB / 0.5873 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.5245, allocations: 24.83 kB / 0.5873 GB, free: 14.61 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001864/0.5247, allocations: 150.2 kB / 0.5875 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.5248, allocations: 31.64 kB / 0.5875 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.5252, allocations: 175.4 kB / 0.5877 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.5252, allocations: 7.984 kB / 0.5877 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5252, allocations: 0 / 0.5877 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5252, allocations: 4 kB / 0.5877 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000598/0.5258, allocations: 461.8 kB / 0.5881 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.5258, allocations: 10.05 kB / 0.5881 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.526, allocations: 35.91 kB / 0.5882 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.526, allocations: 0 / 0.5882 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.526, allocations: 7.984 kB / 0.5882 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.526, allocations: 8.078 kB / 0.5882 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.526, allocations: 4 kB / 0.5882 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.5263, allocations: 281.5 kB / 0.5885 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.5265, allocations: 112.9 kB / 0.5886 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.5265, allocations: 4 kB / 0.5886 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.5267, allocations: 11.98 kB / 0.5886 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.5268, allocations: 11.98 kB / 0.5886 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.5268, allocations: 8 kB / 0.5886 GB, free: 13.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.5269, allocations: 156.4 kB / 0.5888 GB, free: 13.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5269, allocations: 0 / 0.5888 GB, free: 13.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004873/0.5274, allocations: 88 kB / 0.5888 GB, free: 12.92 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 13 * Array equations: 1 * 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.0008092/0.5282, allocations: 1.149 MB / 0.59 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.5285, allocations: 177.7 kB / 0.5901 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5286, allocations: 3.938 kB / 0.5901 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.341e-05/0.5286, allocations: 39.92 kB / 0.5902 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.529, allocations: 41.31 kB / 0.5902 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.5334, allocations: 7.634 MB / 0.5977 GB, free: 3.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.5338, allocations: 0.7326 MB / 0.5984 GB, free: 2.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002971/0.5341, allocations: 63.08 kB / 0.5984 GB, free: 2.754 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.235e-05/0.5342, allocations: 63.42 kB / 0.5985 GB, free: 2.691 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5342, allocations: 0 / 0.5985 GB, free: 2.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.5499, allocations: 4.804 MB / 0.6032 GB, free: 14.04 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.5501, allocations: 199 kB / 0.6034 GB, free: 13.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.392, allocations: 0 / 0.6034 GB, free: 13.78 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat