Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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/MEV 1.1.1-master/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) 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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",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.001651/0.001651, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01933/0.01933, allocations: 1.926 MB / 9.994 MB, free: 0.5977 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.495/1.495, allocations: 205.3 MB / 216.2 MB, free: 15.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007983/0.0007984, allocations: 98.47 kB / 264.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.425e-05/1.426e-05, allocations: 0 / 319.1 MB, free: 19.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08269/0.08272, allocations: 48.09 MB / 367.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2849/0.3677, allocations: 75.53 MB / 442.8 MB, free: 2.164 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.3679, allocations: 67.78 kB / 442.8 MB, free: 2.133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006534/0.3745, allocations: 2.385 MB / 445.2 MB, free: 116 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3745, allocations: 0 / 445.2 MB, free: 116 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3746, allocations: 4 kB / 445.2 MB, free: 112 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004947/0.3751, allocations: 394.1 kB / 445.6 MB, free: 15.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3751, allocations: 8.031 kB / 445.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.3752, allocations: 15.84 kB / 445.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.3754, allocations: 194.3 kB / 445.8 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3755, allocations: 0 / 445.8 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.3755, allocations: 8 kB / 445.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001235/0.3756, allocations: 51.5 kB / 445.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3758, allocations: 70.55 kB / 445.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3758, allocations: 0 / 445.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3758, allocations: 3.984 kB / 446 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3758, allocations: 0 / 446 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.3764, allocations: 358.5 kB / 446.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.3768, allocations: 52.86 kB / 446.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.3769, allocations: 23.48 kB / 446.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.3769, allocations: 0 / 446.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.377, allocations: 34.56 kB / 446.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.377, allocations: 0 / 446.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002298/0.3772, allocations: 68.53 kB / 446.5 MB, free: 14.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.3773, allocations: 56.14 kB / 446.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3774, allocations: 143.2 kB / 446.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3774, allocations: 25.7 kB / 446.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.3775, allocations: 113.3 kB / 446.8 MB, free: 14.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.3775, allocations: 10.69 kB / 446.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.3775, allocations: 0 / 446.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3776, allocations: 321.8 kB / 447.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.3777, allocations: 19.12 kB / 447.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.3777, allocations: 11.38 kB / 447.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.531e-05/0.3778, allocations: 19.67 kB / 447.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3778, allocations: 0 / 447.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000133/0.3779, allocations: 82.97 kB / 447.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.378, allocations: 89 kB / 447.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.378, allocations: 0 / 447.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.378, allocations: 0 / 447.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.587e-05/0.3781, allocations: 23.94 kB / 447.4 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.3781, allocations: 0 / 447.4 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.3782, allocations: 7.938 kB / 447.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3782, allocations: 0 / 447.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.3782, allocations: 7.938 kB / 447.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.264e-05/0.3783, allocations: 31.86 kB / 447.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.92e-07/0.3783, allocations: 3.938 kB / 447.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-06/0.3783, allocations: 4 kB / 447.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.961e-05/0.3784, allocations: 8.25 kB / 447.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-06/0.3784, allocations: 4 kB / 447.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.3784, allocations: 11.98 kB / 447.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.3785, allocations: 0 / 447.5 MB, free: 13.86 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.884e-05/0.3785, allocations: 108.9 kB / 447.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001245/0.3787, allocations: 62.41 kB / 447.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.3787, allocations: 7.906 kB / 447.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.3788, allocations: 67.52 kB / 447.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3788, allocations: 0 / 447.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3789, allocations: 4 kB / 447.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3789, allocations: 0 / 447.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.3792, allocations: 315.8 kB / 448 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3792, allocations: 0 / 448 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.3793, allocations: 11.98 kB / 448 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3793, allocations: 0 / 448 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3793, allocations: 0 / 448 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3793, allocations: 4 kB / 448 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3793, allocations: 0 / 448 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.3795, allocations: 176.6 kB / 448.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.3796, allocations: 93.03 kB / 448.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3796, allocations: 0 / 448.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.3797, allocations: 7.984 kB / 448.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3797, allocations: 11.45 kB / 448.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3798, allocations: 4 kB / 448.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.043e-05/0.3798, allocations: 113.3 kB / 448.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3798, allocations: 0 / 448.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.3802, allocations: 39.84 kB / 448.5 MB, free: 12.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004388/0.3806, allocations: 0.7811 MB / 449.2 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.3807, allocations: 46.19 kB / 449.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3808, allocations: 7.938 kB / 449.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.534e-05/0.3808, allocations: 15.36 kB / 449.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.381, allocations: 6.891 kB / 449.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.3815, allocations: 168.7 kB / 449.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3817, allocations: 0.7117 MB / 450.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.52e-05/0.3818, allocations: 16.05 kB / 450.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.3818, allocations: 33.17 kB / 450.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3819, allocations: 0 / 450.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.4008, allocations: 1.677 MB / 451.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/0.401, allocations: 89.39 kB / 452 MB, free: 9.207 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.434/1.835, allocations: 0 / 452 MB, free: 9.207 MB / 330.7 MB (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestSupplyValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSupplyValve.fmu > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)