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.001201/0.001201, allocations: 113.2 kB / 16.37 MB, free: 6 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.001186/0.001186, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.28/1.28, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009211/0.009211, allocations: 1.935 MB / 272.5 MB, free: 10.08 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.001408/0.001408, allocations: 68.45 kB / 331.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2336, allocations: 47.12 MB / 378.4 MB, free: 53.1 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.003032/0.2367, allocations: 1.96 MB / 380.4 MB, free: 52.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009656/0.2377, allocations: 0.5664 MB / 380.9 MB, free: 52.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.2378, allocations: 1.156 kB / 380.9 MB, free: 52.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.568e-05/0.2378, allocations: 17.56 kB / 381 MB, free: 52.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.238, allocations: 49.61 kB / 381 MB, free: 52.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.2382, allocations: 37.17 kB / 381 MB, free: 52.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.2385, allocations: 135.4 kB / 381.2 MB, free: 52.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2386, allocations: 37.09 kB / 381.2 MB, free: 52.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.788e-05/0.2387, allocations: 51.33 kB / 381.3 MB, free: 52.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.2388, allocations: 51.95 kB / 381.3 MB, free: 52.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.2388, allocations: 8.75 kB / 381.3 MB, free: 52.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.533e-05/0.2389, allocations: 19.39 kB / 381.3 MB, free: 52.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.239, allocations: 18.53 kB / 381.4 MB, free: 52.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.239, allocations: 58.09 kB / 381.4 MB, free: 52.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.2392, allocations: 111.7 kB / 381.5 MB, free: 52.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2392, allocations: 0 / 381.5 MB, free: 52.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2392, allocations: 6.625 kB / 381.5 MB, free: 52.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2393, allocations: 0 / 381.5 MB, free: 52.23 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.0005619/0.2398, allocations: 422.3 kB / 381.9 MB, free: 51.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2399, allocations: 13.48 kB / 381.9 MB, free: 51.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.2399, allocations: 17.8 kB / 382 MB, free: 51.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.2401, allocations: 199.9 kB / 382.2 MB, free: 51.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2401, allocations: 3.094 kB / 382.2 MB, free: 51.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.2402, allocations: 10.97 kB / 382.2 MB, free: 51.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.2404, allocations: 94.45 kB / 382.3 MB, free: 51.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2404, allocations: 0.6094 kB / 382.3 MB, free: 51.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.2404, allocations: 1.094 kB / 382.3 MB, free: 51.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.2405, allocations: 5.906 kB / 382.3 MB, free: 51.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.2406, allocations: 55.17 kB / 382.3 MB, free: 51.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.2412, allocations: 385.8 kB / 382.7 MB, free: 51.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.2417, allocations: 75.38 kB / 382.8 MB, free: 51.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.2418, allocations: 21.25 kB / 382.8 MB, free: 51.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2418, allocations: 1.969 kB / 382.8 MB, free: 51.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.2418, allocations: 31.17 kB / 382.8 MB, free: 51.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.2418, allocations: 0 / 382.8 MB, free: 51.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002649/0.2421, allocations: 91.19 kB / 382.9 MB, free: 51.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.2421, allocations: 56.16 kB / 383 MB, free: 51.13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.2423, allocations: 180.9 kB / 383.2 MB, free: 51.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.2423, allocations: 27.05 kB / 383.2 MB, free: 50.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.2424, allocations: 118.4 kB / 383.3 MB, free: 50.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/0.2424, allocations: 11.09 kB / 383.3 MB, free: 50.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.2424, allocations: 26.73 kB / 383.3 MB, free: 50.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.2425, allocations: 321.1 kB / 383.6 MB, free: 50.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.2426, allocations: 24.59 kB / 383.7 MB, free: 50.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.2426, allocations: 21.05 kB / 383.7 MB, free: 50.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.974e-05/0.2427, allocations: 48.19 kB / 383.7 MB, free: 50.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2427, allocations: 3.938 kB / 383.7 MB, free: 50.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00015/0.2429, allocations: 93.14 kB / 383.8 MB, free: 50.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2429, allocations: 6.078 kB / 383.8 MB, free: 50.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2429, allocations: 3.938 kB / 383.8 MB, free: 50.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2429, allocations: 2.156 kB / 383.8 MB, free: 50.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.243, allocations: 12.91 kB / 383.9 MB, free: 50.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.243, allocations: 0.7031 kB / 383.9 MB, free: 50.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.2431, allocations: 11.58 kB / 383.9 MB, free: 50.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2431, allocations: 2.375 kB / 383.9 MB, free: 50.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.13e-05/0.2432, allocations: 104.4 kB / 384 MB, free: 50.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.978e-05/0.2432, allocations: 18.92 kB / 384 MB, free: 50.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.75e-05/0.2433, allocations: 41.41 kB / 384 MB, free: 50.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.2433, allocations: 0 / 384 MB, free: 50.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001328/0.2435, allocations: 82.84 kB / 384.1 MB, free: 50.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.2435, allocations: 4.156 kB / 384.1 MB, free: 50.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-06/0.2435, allocations: 1.922 kB / 384.1 MB, free: 50.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-06/0.2435, allocations: 3.938 kB / 384.1 MB, free: 50.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.2436, allocations: 15.75 kB / 384.1 MB, free: 50.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-06/0.2436, allocations: 1.219 kB / 384.1 MB, free: 50.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.2436, allocations: 7.234 kB / 384.1 MB, free: 50.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.2436, allocations: 1.766 kB / 384.1 MB, free: 50.32 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 5.371e-05/0.2437, allocations: 184.2 kB / 384.3 MB, free: 50.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.2437, allocations: 13.09 kB / 384.3 MB, free: 50.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.2439, allocations: 81.62 kB / 384.4 MB, free: 50.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2439, allocations: 0 / 384.4 MB, free: 50.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2439, allocations: 1.125 kB / 384.4 MB, free: 50.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2439, allocations: 0.8438 kB / 384.4 MB, free: 50.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.2442, allocations: 355.6 kB / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2442, allocations: 1.281 kB / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.2443, allocations: 12.91 kB / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2443, allocations: 0 / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.2443, allocations: 2.531 kB / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2443, allocations: 2 kB / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2443, allocations: 0 / 384.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.2445, allocations: 183.6 kB / 385 MB, free: 49.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.2446, allocations: 94.61 kB / 385.1 MB, free: 49.47 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.2446, allocations: 5.75 kB / 385.1 MB, free: 49.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.2447, allocations: 2.828 kB / 385.1 MB, free: 49.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.2447, allocations: 4.344 kB / 385.1 MB, free: 49.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.2447, allocations: 2.078 kB / 385.1 MB, free: 49.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.2448, allocations: 146 kB / 385.2 MB, free: 49.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2448, allocations: 0 / 385.2 MB, free: 49.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.2452, allocations: 38.38 kB / 385.3 MB, free: 49.36 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 0.0001039/0.2453, allocations: 97.98 kB / 385.3 MB, free: 49.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.2455, allocations: 66.03 kB / 385.4 MB, free: 49.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2455, allocations: 1.156 kB / 385.4 MB, free: 49.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.307e-05/0.2456, allocations: 20.33 kB / 385.4 MB, free: 49.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.2459, allocations: 19.56 kB / 385.5 MB, free: 49.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.2464, allocations: 277.3 kB / 385.7 MB, free: 49.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.2465, allocations: 0.7047 MB / 386.4 MB, free: 48.35 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.239e-05/0.2466, allocations: 11.95 kB / 386.4 MB, free: 48.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.2466, allocations: 13.05 kB / 386.5 MB, free: 48.34 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2466, allocations: 0 / 386.5 MB, free: 48.34 MB / 318.1 MB Notification: Performance of Templates: time 0.003817/0.2504, allocations: 1.017 MB / 387.5 MB, free: 48.28 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 -s cvode -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)