Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_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.0007688/0.0007688, allocations: 96.47 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008803/0.0008803, allocations: 173.1 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 222.7 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3996/0.3996, allocations: 43.54 MB / 314.6 MB, free: 8.852 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006997/0.0007004, allocations: 16 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1452, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.438/0.5833, allocations: 134.4 MB / 0.5637 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00704/0.5903, allocations: 5.32 MB / 0.5689 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008024/0.5912, allocations: 27.75 kB / 0.5689 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009135/0.5921, allocations: 266.4 kB / 0.5692 GB, free: 15.39 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001969/0.5941, allocations: 0.8044 MB / 0.57 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.5964, allocations: 0.7987 MB / 0.5707 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002388/0.5988, allocations: 2.207 MB / 0.5729 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005685/0.5994, allocations: 383.7 kB / 0.5733 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.6005, allocations: 0.6616 MB / 0.5739 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009483/0.6014, allocations: 0.6891 MB / 0.5746 GB, free: 9.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.623e-05/0.6015, allocations: 32 kB / 0.5746 GB, free: 9.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009244/0.6024, allocations: 419.2 kB / 0.575 GB, free: 9.418 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.6027, allocations: 231.3 kB / 0.5752 GB, free: 9.191 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.6029, allocations: 169.3 kB / 0.5754 GB, free: 9.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007967/0.6037, allocations: 0.7988 MB / 0.5762 GB, free: 8.219 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6037, allocations: 0 / 0.5762 GB, free: 8.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6037, allocations: 0 / 0.5762 GB, free: 8.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.6037, allocations: 4 kB / 0.5762 GB, free: 8.215 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001704/0.6054, allocations: 0.9323 MB / 0.5771 GB, free: 7.234 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6055, allocations: 12.02 kB / 0.5771 GB, free: 7.223 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.6056, allocations: 102.4 kB / 0.5772 GB, free: 7.113 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.6059, allocations: 92.16 kB / 0.5773 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.6066, allocations: 0.4927 MB / 0.5778 GB, free: 6.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.6068, allocations: 108.4 kB / 0.5779 GB, free: 6.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.6068, allocations: 44 kB / 0.5779 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.6081, allocations: 0.8149 MB / 0.5787 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.6081, allocations: 3.938 kB / 0.5787 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.6082, allocations: 27.98 kB / 0.5787 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/0.6082, allocations: 32.98 kB / 0.5788 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009817/0.6092, allocations: 0.6517 MB / 0.5794 GB, free: 4.73 MB / 446.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.004071/0.6133, allocations: 3.964 MB / 0.5833 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.614, allocations: 428.3 kB / 0.5837 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.6144, allocations: 201.9 kB / 0.5839 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005685/0.615, allocations: 0.7327 MB / 0.5846 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.615, allocations: 43.39 kB / 0.5846 GB, free: 14.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/0.615, allocations: 0 / 0.5846 GB, free: 14.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.002954/0.618, allocations: 1.535 MB / 0.5861 GB, free: 13.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.6181, allocations: 132.5 kB / 0.5863 GB, free: 13.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006376/0.6187, allocations: 0.5654 MB / 0.5868 GB, free: 12.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.6188, allocations: 37.7 kB / 0.5869 GB, free: 12.53 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.619, allocations: 351 kB / 0.5872 GB, free: 12.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.6191, allocations: 165.7 kB / 0.5873 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.6192, allocations: 12 kB / 0.5874 GB, free: 12.01 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6193, allocations: 382.7 kB / 0.5877 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.6197, allocations: 209.9 kB / 0.5879 GB, free: 11.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.6202, allocations: 0.5162 MB / 0.5884 GB, free: 10.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.6206, allocations: 312.6 kB / 0.5887 GB, free: 10.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.6206, allocations: 0 / 0.5887 GB, free: 10.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001633/0.6223, allocations: 0.8979 MB / 0.5896 GB, free: 9.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.6223, allocations: 15.95 kB / 0.5896 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.6223, allocations: 13.36 kB / 0.5896 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.6236, allocations: 304.4 kB / 0.5899 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.624, allocations: 115.8 kB / 0.59 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009755/0.6249, allocations: 0.884 MB / 0.5909 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/0.6254, allocations: 40.05 kB / 0.5909 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.6255, allocations: 39.98 kB / 0.591 GB, free: 8.129 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002898/0.6258, allocations: 245.5 kB / 0.5912 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.6259, allocations: 71.16 kB / 0.5913 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.6271, allocations: 0.7806 MB / 0.592 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.6271, allocations: 4 kB / 0.592 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6271, allocations: 0 / 0.592 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.6271, allocations: 0 / 0.592 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.6289, allocations: 1.415 MB / 0.5934 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.6289, allocations: 3.125 kB / 0.5934 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009532/0.6299, allocations: 203.8 kB / 0.5936 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.507e-05/0.63, allocations: 25.03 kB / 0.5936 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.63, allocations: 15.98 kB / 0.5937 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.6319, allocations: 2.677 MB / 0.5963 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.632, allocations: 4.031 kB / 0.5963 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.6333, allocations: 0.9995 MB / 0.5973 GB, free: 1.246 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.6336, allocations: 204.2 kB / 0.5974 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.96e-05/0.6337, allocations: 12 kB / 0.5975 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.6341, allocations: 29.11 kB / 0.5975 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.6342, allocations: 39.91 kB / 0.5975 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.6342, allocations: 23.98 kB / 0.5975 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005676/0.6348, allocations: 407 kB / 0.5979 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.823e-06/0.6348, allocations: 0 / 0.5979 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009143/0.6358, allocations: 227.9 kB / 0.5982 GB, free: 316 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002125/0.6379, allocations: 1.69 MB / 0.5998 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.6391, allocations: 0.5875 MB / 0.6004 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.6392, allocations: 4 kB / 0.6004 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000977/0.6401, allocations: 454.7 kB / 0.6008 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.6418, allocations: 331.8 kB / 0.6011 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007143/0.649, allocations: 4.282 MB / 0.6053 GB, free: 8.715 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.6496, allocations: 0.9463 MB / 0.6062 GB, free: 7.742 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000778/0.6504, allocations: 212.9 kB / 0.6064 GB, free: 7.535 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.6508, allocations: 231.4 kB / 0.6067 GB, free: 7.312 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6508, allocations: 0 / 0.6067 GB, free: 7.312 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5142/1.165, allocations: 20.27 MB / 0.6265 GB, free: 3.082 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/1.165, allocations: 269.9 kB / 0.6267 GB, free: 2.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/3.377, allocations: 0 / 0.6267 GB, free: 2.73 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat