Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 180.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 221.3 MB / 236 MB, free: 2.895 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 95.8 kB / 287 MB, free: 192 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.098e-05, allocations: 224 / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1525, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.202, allocations: 237.2 MB / 0.7334 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/1.202, allocations: 90.08 kB / 0.7335 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9643/2.167, allocations: 248.1 MB / 0.9758 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.863e-06/2.167, allocations: 3.562 kB / 0.9758 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.24e-05/2.167, allocations: 11.75 kB / 0.9758 GB, free: 130.1 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002703/2.169, allocations: 1.189 MB / 0.977 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/2.169, allocations: 10.88 kB / 0.977 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/2.17, allocations: 97.66 kB / 0.9771 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000988/2.171, allocations: 137.2 kB / 0.9772 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/2.172, allocations: 0.549 MB / 0.9778 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.4e-05/2.172, allocations: 105.2 kB / 0.9779 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/2.172, allocations: 52.34 kB / 0.9779 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/2.173, allocations: 0.8111 MB / 0.9787 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/2.173, allocations: 7.875 kB / 0.9787 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.592e-05/2.173, allocations: 29.75 kB / 0.9787 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/2.173, allocations: 36.23 kB / 0.9788 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009513/2.174, allocations: 0.5828 MB / 0.9793 GB, free: 128.8 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.004061/2.178, allocations: 4.485 MB / 0.9837 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/2.179, allocations: 315.1 kB / 0.984 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/2.179, allocations: 136.9 kB / 0.9842 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/2.179, allocations: 416.9 kB / 0.9846 GB, free: 125 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/2.179, allocations: 34.44 kB / 0.9846 GB, free: 125 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.645e-06/2.179, allocations: 3.469 kB / 0.9846 GB, free: 125 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.002878/2.182, allocations: 1.242 MB / 0.9858 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/2.182, allocations: 134.9 kB / 0.9859 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/2.183, allocations: 0.571 MB / 0.9865 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/2.183, allocations: 35.95 kB / 0.9865 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/2.183, allocations: 385 kB / 0.9869 GB, free: 124 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.386e-05/2.183, allocations: 136.3 kB / 0.987 GB, free: 124 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/2.183, allocations: 10.38 kB / 0.987 GB, free: 124 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001189/2.184, allocations: 385.1 kB / 0.9874 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/2.184, allocations: 188.5 kB / 0.9876 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/2.184, allocations: 495.6 kB / 0.9881 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/2.185, allocations: 295.4 kB / 0.9883 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/2.185, allocations: 3.812 kB / 0.9883 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00117/2.186, allocations: 0.8371 MB / 0.9892 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/2.186, allocations: 9.188 kB / 0.9892 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/2.186, allocations: 11.06 kB / 0.9892 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/2.187, allocations: 279.9 kB / 0.9894 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/2.187, allocations: 120.4 kB / 0.9896 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009134/2.188, allocations: 1.385 MB / 0.9909 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/2.189, allocations: 40.44 kB / 0.9909 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/2.189, allocations: 40.92 kB / 0.991 GB, free: 122 MB / 0.5261 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001615/2.189, allocations: 156 kB / 0.9911 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-05/2.189, allocations: 76.06 kB / 0.9912 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/2.191, allocations: 0.6594 MB / 0.9919 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/2.191, allocations: 11.41 kB / 0.9919 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/2.191, allocations: 0 / 0.9919 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/2.191, allocations: 3.375 kB / 0.9919 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/2.192, allocations: 1.192 MB / 0.993 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/2.192, allocations: 0 / 0.993 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/2.193, allocations: 40.45 kB / 0.9931 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007723/2.193, allocations: 196.4 kB / 0.9933 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/2.193, allocations: 15.02 kB / 0.9933 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007705/2.194, allocations: 1.286 MB / 0.9945 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.194, allocations: 3.344 kB / 0.9945 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/2.195, allocations: 0.8123 MB / 0.9953 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/2.195, allocations: 198 kB / 0.9955 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/2.196, allocations: 4 kB / 0.9955 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/2.196, allocations: 27.44 kB / 0.9955 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/2.196, allocations: 29.89 kB / 0.9956 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/2.196, allocations: 18.89 kB / 0.9956 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004852/2.197, allocations: 443 kB / 0.996 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/2.197, allocations: 0 / 0.996 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001083/2.198, allocations: 282.8 kB / 0.9963 GB, free: 119.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001876/2.2, allocations: 1.696 MB / 0.9979 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009267/2.201, allocations: 0.4971 MB / 0.9984 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/2.201, allocations: 0 / 0.9984 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003877/2.201, allocations: 213 kB / 0.9986 GB, free: 118 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/2.202, allocations: 308.1 kB / 0.9989 GB, free: 118 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/2.205, allocations: 1.098 MB / 1 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/2.205, allocations: 0.9475 MB / 1.001 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007583/2.206, allocations: 251.4 kB / 1.001 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/2.206, allocations: 228.6 kB / 1.001 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/2.206, allocations: 0 / 1.001 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04383/2.25, allocations: 20.92 MB / 1.022 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/2.25, allocations: 250.3 kB / 1.022 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.946/5.196, allocations: 2.672 kB / 1.022 GB, free: 105.9 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat