Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.0009184/0.0009184, allocations: 96.23 kB / 15.7 MB, free: 464 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.001099/0.001099, allocations: 174.9 kB / 16.58 MB, free: 6.848 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.59/1.59, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.3911/0.3911, allocations: 43.55 MB / 314.6 MB, free: 8.711 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.0005437/0.0005442, allocations: 16 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1307, allocations: 58.86 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.2951/0.4258, allocations: 24.83 MB / 467.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.4287, allocations: 2.74 MB / 470.4 MB, free: 35.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/0.429, allocations: 2.969 kB / 470.4 MB, free: 35.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.4294, allocations: 34.98 kB / 470.5 MB, free: 35.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.4317, allocations: 0.5835 MB / 471.1 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.4321, allocations: 125.1 kB / 471.2 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006854/0.4328, allocations: 391.7 kB / 471.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.4329, allocations: 16.33 kB / 471.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04804/0.4809, allocations: 22.43 MB / 494 MB, free: 31.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.4815, allocations: 152.8 kB / 494.2 MB, free: 31.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.072e-05/0.4816, allocations: 10.08 kB / 494.2 MB, free: 31.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01184/0.4934, allocations: 5.596 MB / 499.8 MB, free: 30.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.4936, allocations: 43.81 kB / 499.8 MB, free: 30.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.4938, allocations: 57.64 kB / 499.9 MB, free: 30.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008437/0.4946, allocations: 288 kB / 0.4884 GB, free: 30.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4947, allocations: 0 / 0.4884 GB, free: 30.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.4947, allocations: 0 / 0.4884 GB, free: 30.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.4947, allocations: 4 kB / 0.4884 GB, free: 30.46 MB / 382.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.00139/0.4961, allocations: 0.5484 MB / 0.489 GB, free: 29.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.4961, allocations: 8.031 kB / 0.489 GB, free: 29.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.4963, allocations: 60.56 kB / 0.489 GB, free: 29.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.4964, allocations: 28.59 kB / 0.4891 GB, free: 29.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.4968, allocations: 224.9 kB / 0.4893 GB, free: 29.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.4969, allocations: 125.7 kB / 0.4894 GB, free: 29.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.4969, allocations: 24 kB / 0.4894 GB, free: 29.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.4975, allocations: 324.2 kB / 0.4897 GB, free: 29.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4975, allocations: 0 / 0.4897 GB, free: 29.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.4975, allocations: 8 kB / 0.4897 GB, free: 29.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.4976, allocations: 14.23 kB / 0.4897 GB, free: 29.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000934/0.4985, allocations: 0.7337 MB / 0.4905 GB, free: 28.57 MB / 382.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.001434/0.5, allocations: 1.304 MB / 0.4917 GB, free: 27.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.5003, allocations: 154.9 kB / 0.4919 GB, free: 27.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.5005, allocations: 99.64 kB / 0.492 GB, free: 27.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002143/0.5026, allocations: 2.82 MB / 0.4947 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.5027, allocations: 34.56 kB / 0.4948 GB, free: 23.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.694e-06/0.5027, allocations: 0 / 0.4948 GB, free: 23.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002905/0.503, allocations: 112.5 kB / 0.4949 GB, free: 23.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.503, allocations: 51.41 kB / 0.4949 GB, free: 23.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.5032, allocations: 232.1 kB / 0.4951 GB, free: 23.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.5032, allocations: 29.7 kB / 0.4952 GB, free: 23.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.5033, allocations: 215.2 kB / 0.4954 GB, free: 23.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.5034, allocations: 43.72 kB / 0.4954 GB, free: 23.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.5034, allocations: 8 kB / 0.4954 GB, free: 23.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5035, allocations: 332.3 kB / 0.4957 GB, free: 22.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-05/0.5036, allocations: 54.02 kB / 0.4958 GB, free: 22.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.5039, allocations: 342.8 kB / 0.4961 GB, free: 22.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.5041, allocations: 96.52 kB / 0.4962 GB, free: 22.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5041, allocations: 4 kB / 0.4962 GB, free: 22.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005495/0.5046, allocations: 378.1 kB / 0.4966 GB, free: 21.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.5047, allocations: 8 kB / 0.4966 GB, free: 21.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.5047, allocations: 20.03 kB / 0.4966 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.451e-05/0.5047, allocations: 12.7 kB / 0.4966 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.505, allocations: 102.8 kB / 0.4967 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.458e-05/0.505, allocations: 19.5 kB / 0.4967 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.5053, allocations: 55.39 kB / 0.4968 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.5053, allocations: 29.27 kB / 0.4968 GB, free: 21.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * 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.0001176/0.5055, allocations: 158.1 kB / 0.497 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.5055, allocations: 20.52 kB / 0.497 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.5058, allocations: 143.2 kB / 0.4971 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.5058, allocations: 4 kB / 0.4971 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5058, allocations: 4 kB / 0.4971 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.5059, allocations: 1.438 kB / 0.4971 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.5063, allocations: 409.8 kB / 0.4975 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.5063, allocations: 1.078 kB / 0.4975 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.5064, allocations: 13.22 kB / 0.4975 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5064, allocations: 0.6562 kB / 0.4975 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.5064, allocations: 4.5 kB / 0.4975 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5064, allocations: 8.656 kB / 0.4975 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5065, allocations: 0 / 0.4975 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.5066, allocations: 208.2 kB / 0.4977 GB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/0.5067, allocations: 102.9 kB / 0.4978 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.5068, allocations: 8.656 kB / 0.4979 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.5069, allocations: 12.12 kB / 0.4979 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.507, allocations: 9.828 kB / 0.4979 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.507, allocations: 8.797 kB / 0.4979 GB, free: 20.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.5072, allocations: 148 kB / 0.498 GB, free: 20.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5072, allocations: 0 / 0.498 GB, free: 20.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005392/0.5077, allocations: 94.02 kB / 0.4981 GB, free: 20.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 8 * 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.0005348/0.5083, allocations: 0.7902 MB / 0.4989 GB, free: 19.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.5086, allocations: 173.1 kB / 0.499 GB, free: 19.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5086, allocations: 0 / 0.499 GB, free: 19.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.5086, allocations: 22.52 kB / 0.4991 GB, free: 19.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.5091, allocations: 45.02 kB / 0.4991 GB, free: 19.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.5111, allocations: 1.448 MB / 0.5005 GB, free: 17.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.5113, allocations: 0.725 MB / 0.5012 GB, free: 16.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.5116, allocations: 55.7 kB / 0.5013 GB, free: 16.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/0.5117, allocations: 61.53 kB / 0.5013 GB, free: 16.89 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5117, allocations: 0 / 0.5013 GB, free: 16.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.5333, allocations: 4.72 MB / 0.506 GB, free: 14.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.5335, allocations: 210.9 kB / 0.5062 GB, free: 13.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.325, allocations: 0 / 0.5062 GB, free: 13.79 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat