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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 109 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 207.6 MB / 229.8 MB, free: 4.227 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008464/0.008464, allocations: 1.958 MB / 283.6 MB, free: 14.48 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 72.23 kB / 396.6 MB, free: 8.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2599, allocations: 49.66 MB / 446.2 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002704/0.2626, allocations: 1.963 MB / 448.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.2636, allocations: 0.5765 MB / 448.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.2637, allocations: 6.531 kB / 448.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.278e-05/0.2637, allocations: 18.66 kB / 448.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.2639, allocations: 48.44 kB / 448.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.2641, allocations: 35.48 kB / 448.9 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.2643, allocations: 138.2 kB / 449 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.2644, allocations: 28.12 kB / 449.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.188e-05/0.2645, allocations: 43.91 kB / 449.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.2646, allocations: 59.8 kB / 449.2 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.2646, allocations: 7.469 kB / 449.2 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.438e-05/0.2647, allocations: 18.2 kB / 449.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.2648, allocations: 22.23 kB / 449.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.733e-05/0.2648, allocations: 61.86 kB / 449.3 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.265, allocations: 111.6 kB / 449.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.265, allocations: 0 / 449.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.265, allocations: 0.9688 kB / 449.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.265, allocations: 0 / 449.4 MB, free: 6.367 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.000531/0.2656, allocations: 425.6 kB / 449.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2656, allocations: 17.33 kB / 449.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.2656, allocations: 37.53 kB / 449.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.2657, allocations: 15.34 kB / 449.9 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.2659, allocations: 208.7 kB / 450.1 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.2659, allocations: 3 kB / 450.1 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.2659, allocations: 10.16 kB / 450.1 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.2661, allocations: 93.55 kB / 450.2 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2661, allocations: 3.984 kB / 450.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2661, allocations: 5.312 kB / 450.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2661, allocations: 1.375 kB / 450.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.2663, allocations: 60.2 kB / 450.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.2669, allocations: 385 kB / 450.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.2673, allocations: 68.02 kB / 450.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.366e-05/0.2674, allocations: 20.86 kB / 450.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.2674, allocations: 8.828 kB / 450.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.2674, allocations: 30.56 kB / 450.7 MB, free: 5.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.2674, allocations: 1.375 kB / 450.7 MB, free: 5.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002825/0.2677, allocations: 94.36 kB / 450.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.2677, allocations: 53.91 kB / 450.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.2679, allocations: 186.1 kB / 451.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.2679, allocations: 29.7 kB / 451.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.268, allocations: 113.5 kB / 451.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.268, allocations: 14.97 kB / 451.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.2681, allocations: 24.89 kB / 451.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.2681, allocations: 321.1 kB / 451.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.2682, allocations: 25.83 kB / 451.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.616e-05/0.2682, allocations: 17.91 kB / 451.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.2684, allocations: 52.81 kB / 451.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2684, allocations: 0 / 451.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001533/0.2685, allocations: 83.25 kB / 451.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.2685, allocations: 9.531 kB / 451.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2685, allocations: 3.938 kB / 451.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2686, allocations: 0.6562 kB / 451.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/0.2686, allocations: 13.06 kB / 451.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2686, allocations: 0 / 451.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.178e-05/0.2687, allocations: 14.7 kB / 451.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.2687, allocations: 5.688 kB / 451.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.533e-05/0.2688, allocations: 103.3 kB / 451.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.588e-05/0.2689, allocations: 15.06 kB / 451.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.622e-05/0.2689, allocations: 41.05 kB / 451.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.2689, allocations: 4.641 kB / 451.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001532/0.2691, allocations: 83.5 kB / 452 MB, free: 4.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.2691, allocations: 5.219 kB / 452 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-06/0.2691, allocations: 0 / 452 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-06/0.2691, allocations: 8.969 kB / 452 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.2692, allocations: 12.08 kB / 452 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.2692, allocations: 0.5 kB / 452 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.2692, allocations: 14.06 kB / 452.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.2693, allocations: 1.719 kB / 452.1 MB, free: 4.094 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.925e-05/0.2693, allocations: 178 kB / 452.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.2693, allocations: 16.94 kB / 452.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.2695, allocations: 88.27 kB / 452.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2695, allocations: 1 kB / 452.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2696, allocations: 0 / 452.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2696, allocations: 1.281 kB / 452.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.2699, allocations: 351.5 kB / 452.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2699, allocations: 7.938 kB / 452.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.27, allocations: 10.31 kB / 452.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.27, allocations: 0 / 452.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.27, allocations: 5.375 kB / 452.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.27, allocations: 1.906 kB / 452.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.27, allocations: 0 / 452.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.2702, allocations: 182.2 kB / 452.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.2702, allocations: 93.89 kB / 453 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.2702, allocations: 3.016 kB / 453 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/0.2703, allocations: 9.594 kB / 453 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.2703, allocations: 7.375 kB / 453 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.2704, allocations: 2.719 kB / 453 MB, free: 3.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.558e-05/0.2705, allocations: 138.4 kB / 453.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2705, allocations: 0 / 453.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.2708, allocations: 42.31 kB / 453.2 MB, free: 3.113 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.0003489/0.2711, allocations: 0.7057 MB / 453.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.2713, allocations: 65.3 kB / 453.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2713, allocations: 1.375 kB / 453.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/0.2714, allocations: 20.89 kB / 454 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2718, allocations: 18.25 kB / 454 MB, free: 2.383 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2733, allocations: 1.669 MB / 455.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.2734, allocations: 0.7053 MB / 456.4 MB, free: 316 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.357e-05/0.2735, allocations: 8.906 kB / 456.4 MB, free: 316 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.2735, allocations: 30.42 kB / 456.4 MB, free: 292 kB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2735, allocations: 0 / 456.4 MB, free: 292 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.2966, allocations: 2.485 MB / 458.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/7.915, allocations: 8.688 kB / 458.9 MB, free: 15.57 MB / 334.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestSupplyValve_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 MEV_MEV_Test_TestSupplyValve.fmu > MEV_MEV.Test.TestSupplyValve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.21213562900084] Failed to read output from testmodel.py, exit status != 0: 7.981514707993483 8.005122713 7.736474337 Calling exit ...