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/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/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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: translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007633/0.007633, allocations: 99.27 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 196.8 kB / 16.67 MB, free: 5.965 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.356/1.356, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008765/0.008766, allocations: 1.943 MB / 271.8 MB, free: 3.246 MB / 222.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.001493/0.001493, allocations: 68.47 kB / 378.2 MB, free: 444 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09742, allocations: 47.14 MB / 425.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.1933/0.2908, allocations: 1.948 MB / 427.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2919, allocations: 0.5691 MB / 427.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.292, allocations: 1.25 kB / 427.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.102e-05/0.292, allocations: 18.66 kB / 427.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.2922, allocations: 47.19 kB / 428 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.2924, allocations: 33.55 kB / 428 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.2926, allocations: 142.8 kB / 428.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.2927, allocations: 40.39 kB / 428.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-05/0.2928, allocations: 46.41 kB / 428.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.69e-05/0.2929, allocations: 56.69 kB / 428.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2929, allocations: 8.031 kB / 428.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.394e-05/0.293, allocations: 16.3 kB / 428.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.293, allocations: 18.41 kB / 428.3 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.2931, allocations: 56.5 kB / 428.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.2933, allocations: 119.5 kB / 428.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2933, allocations: 0 / 428.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2933, allocations: 0.75 kB / 428.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.2933, allocations: 0 / 428.5 MB, free: 10.41 MB / 318.1 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.0005214/0.2939, allocations: 426.4 kB / 428.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2939, allocations: 13.17 kB / 428.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.294, allocations: 16.78 kB / 428.9 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.2942, allocations: 207.9 kB / 429.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2942, allocations: 7.188 kB / 429.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.2942, allocations: 8.781 kB / 429.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.2944, allocations: 89.34 kB / 429.2 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2944, allocations: 1.312 kB / 429.2 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2944, allocations: 4 kB / 429.2 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2944, allocations: 2.469 kB / 429.2 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.2946, allocations: 56.7 kB / 429.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.2951, allocations: 388.8 kB / 429.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.2956, allocations: 75.84 kB / 429.8 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.2956, allocations: 21.34 kB / 429.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.2957, allocations: 0 / 429.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.2957, allocations: 32.73 kB / 429.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.684e-06/0.2957, allocations: 0 / 429.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002631/0.296, allocations: 92.81 kB / 429.9 MB, free: 9.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.296, allocations: 52.81 kB / 429.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2961, allocations: 192.1 kB / 430.1 MB, free: 9.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.2962, allocations: 26.31 kB / 430.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.2962, allocations: 111.2 kB / 430.3 MB, free: 9.031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.2962, allocations: 11.8 kB / 430.3 MB, free: 9.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.2963, allocations: 23.83 kB / 430.3 MB, free: 9.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.2963, allocations: 324.6 kB / 430.6 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-05/0.2964, allocations: 22.86 kB / 430.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.2965, allocations: 25.55 kB / 430.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.2966, allocations: 43.06 kB / 430.7 MB, free: 8.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2966, allocations: 0 / 430.7 MB, free: 8.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001514/0.2967, allocations: 86.52 kB / 430.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2968, allocations: 10.09 kB / 430.8 MB, free: 8.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2968, allocations: 7.875 kB / 430.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2968, allocations: 1.031 kB / 430.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.2969, allocations: 15.7 kB / 430.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2969, allocations: 4.75 kB / 430.8 MB, free: 8.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.297, allocations: 12.52 kB / 430.8 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.297, allocations: 1.734 kB / 430.8 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.797e-05/0.2971, allocations: 102.8 kB / 430.9 MB, free: 8.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.144e-05/0.2971, allocations: 16.41 kB / 431 MB, free: 8.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.169e-05/0.2972, allocations: 41.25 kB / 431 MB, free: 8.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.81e-07/0.2972, allocations: 0 / 431 MB, free: 8.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001299/0.2973, allocations: 83.3 kB / 431.1 MB, free: 8.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.114e-06/0.2974, allocations: 10.58 kB / 431.1 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-06/0.2974, allocations: 0 / 431.1 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-06/0.2974, allocations: 5.281 kB / 431.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.2974, allocations: 11.23 kB / 431.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-06/0.2974, allocations: 3.938 kB / 431.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.2975, allocations: 6.469 kB / 431.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.2975, allocations: 1.125 kB / 431.1 MB, free: 8.473 MB / 318.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.2975, allocations: 186.6 kB / 431.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.2976, allocations: 18.17 kB / 431.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.2978, allocations: 82.61 kB / 431.4 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2978, allocations: 1.062 kB / 431.4 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2978, allocations: 0 / 431.4 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.2978, allocations: 4.609 kB / 431.4 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.2981, allocations: 356.5 kB / 431.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2981, allocations: 1.672 kB / 431.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.2982, allocations: 11.98 kB / 431.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2982, allocations: 1.312 kB / 431.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2982, allocations: 1.844 kB / 431.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2982, allocations: 0 / 431.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2982, allocations: 1.594 kB / 431.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.2983, allocations: 177.4 kB / 431.9 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.2984, allocations: 96.3 kB / 432 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.2984, allocations: 5.797 kB / 432 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.2985, allocations: 3 kB / 432.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.2985, allocations: 8.031 kB / 432.1 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.2986, allocations: 2.062 kB / 432.1 MB, free: 7.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.507e-05/0.2987, allocations: 141.9 kB / 432.2 MB, free: 7.578 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2987, allocations: 0 / 432.2 MB, free: 7.578 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000306/0.299, allocations: 35.64 kB / 432.2 MB, free: 7.578 MB / 318.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.836e-05/0.2991, allocations: 99.36 kB / 432.3 MB, free: 7.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.2993, allocations: 70.45 kB / 432.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2993, allocations: 0 / 432.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.2994, allocations: 21.73 kB / 432.4 MB, free: 7.473 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.2997, allocations: 13.86 kB / 432.4 MB, free: 7.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.3001, allocations: 273.7 kB / 432.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3003, allocations: 0.701 MB / 433.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.3004, allocations: 10.22 kB / 433.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.3004, allocations: 11.38 kB / 433.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3004, allocations: 4 kB / 433.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of Templates: time 0.003563/0.304, allocations: 1.029 MB / 434.5 MB, free: 6.484 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile (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 & ./MEV_MEV.Test.TestSupplyValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)