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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004971/0.004971, allocations: 95.92 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.00135/0.00135, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.407/1.407, allocations: 205.1 MB / 222.6 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.00856/0.00856, allocations: 1.931 MB / 271.8 MB, free: 3.258 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.002095/0.002095, allocations: 71.89 kB / 377.8 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0847/0.08681, allocations: 47.12 MB / 424.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.1701/0.257, allocations: 1.956 MB / 426.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.258, allocations: 0.5668 MB / 427.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.151e-05/0.2581, allocations: 4.406 kB / 427.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.06e-05/0.2583, allocations: 18.28 kB / 427.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.2584, allocations: 44.19 kB / 427.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.2587, allocations: 37.91 kB / 427.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.2589, allocations: 140.3 kB / 427.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.259, allocations: 36.38 kB / 427.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.327e-05/0.2591, allocations: 48.58 kB / 427.7 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.2592, allocations: 55.06 kB / 427.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.2592, allocations: 8.938 kB / 427.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.992e-05/0.2593, allocations: 16.78 kB / 427.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.2594, allocations: 20.33 kB / 427.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.2594, allocations: 61.58 kB / 427.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.2596, allocations: 109.5 kB / 428 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2596, allocations: 0 / 428 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2596, allocations: 5 kB / 428 MB, free: 10.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.2597, allocations: 0.5938 kB / 428 MB, free: 10.31 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.0005116/0.2602, allocations: 428.6 kB / 428.4 MB, free: 9.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2602, allocations: 12.77 kB / 428.4 MB, free: 9.914 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.2603, allocations: 38.45 kB / 428.5 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.2603, allocations: 16.92 kB / 428.5 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.2605, allocations: 207.1 kB / 428.7 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2605, allocations: 6.156 kB / 428.7 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.2605, allocations: 8.531 kB / 428.7 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.2607, allocations: 91.61 kB / 428.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2607, allocations: 0 / 428.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2608, allocations: 3.844 kB / 428.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2608, allocations: 1.828 kB / 428.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.2609, allocations: 53.83 kB / 428.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.2615, allocations: 393.1 kB / 429.2 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.2619, allocations: 68.12 kB / 429.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.262, allocations: 22.5 kB / 429.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.262, allocations: 1.375 kB / 429.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.262, allocations: 32.8 kB / 429.3 MB, free: 9.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.262, allocations: 0 / 429.3 MB, free: 9.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002765/0.2623, allocations: 96.55 kB / 429.4 MB, free: 9.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.2624, allocations: 56.75 kB / 429.5 MB, free: 9.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.2625, allocations: 183.5 kB / 429.7 MB, free: 9.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.2625, allocations: 25.7 kB / 429.7 MB, free: 9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.2626, allocations: 113.1 kB / 429.8 MB, free: 8.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.2626, allocations: 10.17 kB / 429.8 MB, free: 8.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.2627, allocations: 25.14 kB / 429.8 MB, free: 8.883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.2627, allocations: 328.1 kB / 430.2 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.2628, allocations: 23.84 kB / 430.2 MB, free: 8.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.2628, allocations: 18.34 kB / 430.2 MB, free: 8.559 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.263, allocations: 46.09 kB / 430.3 MB, free: 8.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.263, allocations: 0 / 430.3 MB, free: 8.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001979/0.2632, allocations: 92.42 kB / 430.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.2632, allocations: 17.94 kB / 430.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2632, allocations: 0 / 430.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2632, allocations: 0.5625 kB / 430.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.2633, allocations: 11.97 kB / 430.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2633, allocations: 1.219 kB / 430.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.2634, allocations: 11.78 kB / 430.4 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.2634, allocations: 2.766 kB / 430.4 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.031e-05/0.2635, allocations: 100.7 kB / 430.5 MB, free: 8.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.522e-05/0.2636, allocations: 20.56 kB / 430.5 MB, free: 8.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.752e-05/0.2637, allocations: 45.08 kB / 430.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.2637, allocations: 0.5625 kB / 430.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001424/0.2638, allocations: 80.83 kB / 430.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.2638, allocations: 5.594 kB / 430.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-06/0.2638, allocations: 0 / 430.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-06/0.2639, allocations: 5.25 kB / 430.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.592e-05/0.2639, allocations: 10.81 kB / 430.7 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.2639, allocations: 5.438 kB / 430.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.264, allocations: 6.953 kB / 430.7 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.264, allocations: 5.438 kB / 430.7 MB, free: 8.344 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.754e-05/0.2641, allocations: 186.6 kB / 430.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.2641, allocations: 17.69 kB / 430.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.2643, allocations: 86.02 kB / 431 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2643, allocations: 1.125 kB / 431 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2643, allocations: 0 / 431 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.2643, allocations: 0.6562 kB / 431 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.2646, allocations: 357.1 kB / 431.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2646, allocations: 0.6562 kB / 431.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.2647, allocations: 11.09 kB / 431.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2647, allocations: 2.172 kB / 431.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2647, allocations: 0.9062 kB / 431.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2647, allocations: 1.688 kB / 431.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2647, allocations: 0 / 431.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.2649, allocations: 183 kB / 431.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.265, allocations: 96.64 kB / 431.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.265, allocations: 1.312 kB / 431.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.2651, allocations: 7.531 kB / 431.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.2651, allocations: 8.188 kB / 431.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.2651, allocations: 1.406 kB / 431.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.2652, allocations: 141 kB / 431.7 MB, free: 7.449 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2652, allocations: 4 kB / 431.8 MB, free: 7.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.2656, allocations: 39.5 kB / 431.8 MB, free: 7.441 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.0003125/0.2659, allocations: 0.706 MB / 432.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.2661, allocations: 71.06 kB / 432.6 MB, free: 6.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2661, allocations: 0 / 432.6 MB, free: 6.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.311e-05/0.2662, allocations: 21.62 kB / 432.6 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.2665, allocations: 13.17 kB / 432.6 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.2681, allocations: 1.667 MB / 434.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.2682, allocations: 0.7013 MB / 435 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.939e-05/0.2683, allocations: 12.72 kB / 435 MB, free: 4.805 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.2683, allocations: 29.48 kB / 435 MB, free: 4.781 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2683, allocations: 4 kB / 435 MB, free: 4.777 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.2917, allocations: 2.477 MB / 437.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.466, allocations: 5.312 kB / 437.5 MB, free: 4.238 MB / 318.1 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/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)