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.001027/0.001028, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.008075/0.008075, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.2 MB / 221.4 MB, free: 7.277 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.000836/0.000836, allocations: 90.58 kB / 270.1 MB, free: 7.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.491e-05, allocations: 7.984 kB / 326.1 MB, free: 14.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2218, allocations: 48.06 MB / 374.2 MB, free: 44.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08022/0.3021, allocations: 76.2 MB / 450.4 MB, free: 2.645 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.3024, allocations: 71.69 kB / 450.4 MB, free: 2.578 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006557/0.3089, allocations: 2.409 MB / 452.9 MB, free: 180 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.309, allocations: 0 / 452.9 MB, free: 180 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.309, allocations: 0 / 452.9 MB, free: 180 kB / 330.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.0004556/0.3095, allocations: 391.2 kB / 453.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.258e-05/0.3096, allocations: 12.03 kB / 453.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.3096, allocations: 42.55 kB / 453.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.3097, allocations: 11.91 kB / 453.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.3099, allocations: 203.7 kB / 453.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3099, allocations: 8 kB / 453.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.31, allocations: 11.14 kB / 453.5 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.3101, allocations: 77.69 kB / 453.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.3102, allocations: 4 kB / 453.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3102, allocations: 4 kB / 453.6 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.3102, allocations: 4 kB / 453.6 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3103, allocations: 47.89 kB / 453.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.311, allocations: 385.6 kB / 454 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.3113, allocations: 62.5 kB / 454.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.3114, allocations: 16.86 kB / 454.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.3114, allocations: 0 / 454.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3115, allocations: 34.64 kB / 454.1 MB, free: 14.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3115, allocations: 0 / 454.1 MB, free: 14.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001926/0.3117, allocations: 65.62 kB / 454.2 MB, free: 14.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.3117, allocations: 55.39 kB / 454.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3119, allocations: 162 kB / 454.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3119, allocations: 25.7 kB / 454.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.312, allocations: 116 kB / 454.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.312, allocations: 13.44 kB / 454.6 MB, free: 14.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.312, allocations: 0 / 454.6 MB, free: 14.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3122, allocations: 323.4 kB / 454.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.3122, allocations: 16 kB / 454.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/0.3123, allocations: 12 kB / 454.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.3123, allocations: 19.98 kB / 454.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3123, allocations: 0 / 454.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001255/0.3124, allocations: 69.59 kB / 455 MB, free: 13.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.3125, allocations: 101 kB / 455.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3125, allocations: 0 / 455.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3125, allocations: 0 / 455.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.3126, allocations: 19.92 kB / 455.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3126, allocations: 2.109 kB / 455.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.3127, allocations: 15.84 kB / 455.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3127, allocations: 0 / 455.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.3127, allocations: 7.938 kB / 455.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.986e-05/0.3128, allocations: 35.98 kB / 455.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.02e-07/0.3128, allocations: 2.531 kB / 455.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-06/0.3128, allocations: 0 / 455.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/0.3129, allocations: 12 kB / 455.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-06/0.3129, allocations: 0 / 455.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.313, allocations: 7.984 kB / 455.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.313, allocations: 4 kB / 455.2 MB, free: 13.61 MB / 346.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 6.135e-05/0.313, allocations: 112.9 kB / 455.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3131, allocations: 15.81 kB / 455.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.3132, allocations: 70.64 kB / 455.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3132, allocations: 0 / 455.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3133, allocations: 256 / 455.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3133, allocations: 4 kB / 455.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.3136, allocations: 347.3 kB / 455.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3136, allocations: 0 / 455.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.3137, allocations: 11.98 kB / 455.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3137, allocations: 4 kB / 455.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3137, allocations: 0 / 455.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3137, allocations: 0 / 455.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3137, allocations: 0 / 455.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.3139, allocations: 189.9 kB / 455.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.314, allocations: 92.94 kB / 456 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.314, allocations: 0 / 456 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.3141, allocations: 8 kB / 456 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.3142, allocations: 7.938 kB / 456.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3142, allocations: 4 kB / 456.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.737e-05/0.3143, allocations: 131.2 kB / 456.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3143, allocations: 0 / 456.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.3146, allocations: 44.66 kB / 456.2 MB, free: 12.46 MB / 346.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.0004659/0.315, allocations: 0.7874 MB / 457 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.3152, allocations: 52.72 kB / 457.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3152, allocations: 4 kB / 457.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.006e-05/0.3152, allocations: 15.98 kB / 457.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.3154, allocations: 16.89 kB / 457.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.3159, allocations: 168.8 kB / 457.3 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3162, allocations: 0.7127 MB / 458 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.568e-05/0.3163, allocations: 16.66 kB / 458 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.3163, allocations: 31.42 kB / 458 MB, free: 10.56 MB / 346.7 MB Notification: Performance of SimCode: time 3.6e-07/0.3163, allocations: 0 / 458 MB, free: 10.56 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.3317, allocations: 2.23 MB / 460.3 MB, free: 8.418 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.3319, allocations: 112.2 kB / 460.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/1.805, allocations: 0 / 460.4 MB, free: 8.293 MB / 346.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)