Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 82.64 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2837/0.2837, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.814e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.144, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6904/0.8345, allocations: 240.2 MB / 0.7006 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.8349, allocations: 95.97 kB / 0.7007 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.369/2.204, allocations: 275.6 MB / 0.9698 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.056e-06/2.204, allocations: 3.609 kB / 0.9698 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.274e-05/2.204, allocations: 15.72 kB / 0.9698 GB, free: 112.4 MB / 0.4948 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.006149/2.21, allocations: 1.563 MB / 0.9713 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/2.21, allocations: 7.938 kB / 0.9713 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009978/2.211, allocations: 138.9 kB / 0.9715 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009953/2.212, allocations: 0.5479 MB / 0.972 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/2.212, allocations: 90.88 kB / 0.9721 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.937e-05/2.212, allocations: 31.86 kB / 0.9721 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008175/2.213, allocations: 0.4998 MB / 0.9726 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009805/2.214, allocations: 0.7246 MB / 0.9733 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/2.214, allocations: 7.531 kB / 0.9733 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/2.214, allocations: 3.344 kB / 0.9733 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.612e-05/2.214, allocations: 37.89 kB / 0.9734 GB, free: 110.9 MB / 0.4948 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.003999/2.218, allocations: 4.328 MB / 0.9776 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/2.219, allocations: 296.4 kB / 0.9779 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/2.219, allocations: 133.8 kB / 0.978 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/2.219, allocations: 341.1 kB / 0.9783 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/2.219, allocations: 38.34 kB / 0.9784 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.455e-06/2.219, allocations: 0 / 0.9784 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.003319/2.222, allocations: 1.236 MB / 0.9796 GB, free: 107 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/2.222, allocations: 135.2 kB / 0.9797 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/2.223, allocations: 460.4 kB / 0.9801 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/2.223, allocations: 28.58 kB / 0.9802 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/2.223, allocations: 406 kB / 0.9806 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/2.224, allocations: 123.9 kB / 0.9807 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/2.224, allocations: 2.625 kB / 0.9807 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001657/2.224, allocations: 373.7 kB / 0.981 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/2.224, allocations: 177.7 kB / 0.9812 GB, free: 106 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/2.224, allocations: 474.6 kB / 0.9817 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/2.225, allocations: 339.4 kB / 0.982 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/2.225, allocations: 6.969 kB / 0.982 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001605/2.227, allocations: 0.818 MB / 0.9828 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/2.227, allocations: 10.34 kB / 0.9828 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/2.227, allocations: 15.34 kB / 0.9828 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007382/2.228, allocations: 216 kB / 0.983 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/2.228, allocations: 119.5 kB / 0.9831 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/2.229, allocations: 1.421 MB / 0.9845 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/2.23, allocations: 21.7 kB / 0.9845 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/2.23, allocations: 47.86 kB / 0.9846 GB, free: 104.5 MB / 0.4948 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.0001763/2.23, allocations: 139 kB / 0.9847 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001077/2.231, allocations: 0.4967 MB / 0.9852 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/2.231, allocations: 60.44 kB / 0.9853 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/2.233, allocations: 0.6855 MB / 0.9859 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/2.233, allocations: 10.36 kB / 0.9859 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/2.233, allocations: 7.641 kB / 0.9859 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/2.233, allocations: 7.5 kB / 0.9859 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/2.235, allocations: 1.165 MB / 0.9871 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/2.235, allocations: 0 / 0.9871 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/2.235, allocations: 40.84 kB / 0.9871 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/2.235, allocations: 157.6 kB / 0.9873 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/2.235, allocations: 7.875 kB / 0.9873 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009061/2.236, allocations: 1.324 MB / 0.9886 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.236, allocations: 0 / 0.9886 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/2.238, allocations: 0.8136 MB / 0.9894 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/2.238, allocations: 202.7 kB / 0.9896 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.63e-05/2.238, allocations: 7.797 kB / 0.9896 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/2.238, allocations: 10.48 kB / 0.9896 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/2.238, allocations: 28.55 kB / 0.9896 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/2.238, allocations: 20.48 kB / 0.9896 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003843/2.239, allocations: 350.8 kB / 0.99 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.239, allocations: 2.812 kB / 0.99 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0015/2.24, allocations: 351.5 kB / 0.9903 GB, free: 102.2 MB / 0.4948 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 (26): * Single equations (assignments): 24 * 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.002567/2.243, allocations: 1.848 MB / 0.9921 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009342/2.244, allocations: 475.1 kB / 0.9926 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/2.244, allocations: 3.859 kB / 0.9926 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003836/2.244, allocations: 204.4 kB / 0.9928 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/2.245, allocations: 262.3 kB / 0.993 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/2.248, allocations: 1.067 MB / 0.9941 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/2.248, allocations: 0.9448 MB / 0.995 GB, free: 99.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007284/2.249, allocations: 235.8 kB / 0.9952 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/2.249, allocations: 232.7 kB / 0.9954 GB, free: 99.42 MB / 0.4948 GB Notification: Performance of SimCode: time 2.81e-07/2.249, allocations: 3.438 kB / 0.9954 GB, free: 99.42 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/2.299, allocations: 19.68 MB / 1.015 GB, free: 87.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/2.299, allocations: 198.9 kB / 1.015 GB, free: 86.99 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/5.07, allocations: 8 kB / 1.015 GB, free: 86.98 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat