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.0008235/0.0008235, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000867/0.000867, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8481/0.8481, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 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.007836/0.007836, allocations: 1.424 MB / 237.9 MB, free: 14.02 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 352.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.718e-05, allocations: 6.219 kB / 352.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.001914/0.001931, allocations: 1.897 MB / 354.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007157/0.002646, allocations: 0.5502 MB / 354.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.002698, allocations: 0 / 354.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.002743, allocations: 15.84 kB / 354.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.002845, allocations: 51.56 kB / 355 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.00304, allocations: 39.83 kB / 355 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.00317, allocations: 147.1 kB / 355.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.003276, allocations: 21.28 kB / 355.2 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.00335, allocations: 71.81 kB / 355.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.003413, allocations: 39.89 kB / 355.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.00343, allocations: 8 kB / 355.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.043e-05/0.00348, allocations: 16 kB / 355.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.003498, allocations: 19.92 kB / 355.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.003528, allocations: 51.78 kB / 355.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.00366, allocations: 111.6 kB / 355.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003662, allocations: 0 / 355.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003663, allocations: 0 / 355.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.003668, allocations: 0 / 355.5 MB, free: 12.88 MB / 282.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.0003701/0.004038, allocations: 349.7 kB / 355.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.004076, allocations: 11.98 kB / 355.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.004101, allocations: 38.75 kB / 355.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.004127, allocations: 12.84 kB / 355.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.004253, allocations: 145.6 kB / 356 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.004264, allocations: 12.38 kB / 356 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.004274, allocations: 4.375 kB / 356 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.004416, allocations: 90.16 kB / 356.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.004424, allocations: 4.188 kB / 356.1 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.004435, allocations: 8.125 kB / 356.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.00444, allocations: 0 / 356.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.563e-05/0.004526, allocations: 55.95 kB / 356.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.004915, allocations: 343.5 kB / 356.5 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.005197, allocations: 66.53 kB / 356.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.005229, allocations: 20.94 kB / 356.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.005246, allocations: 4 kB / 356.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.151e-05/0.005257, allocations: 30.56 kB / 356.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.005258, allocations: 3.938 kB / 356.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001959/0.005454, allocations: 93.52 kB / 356.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.005477, allocations: 55.34 kB / 356.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.005574, allocations: 183.6 kB / 357 MB, free: 11.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.005582, allocations: 25.7 kB / 357 MB, free: 11.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.005625, allocations: 112 kB / 357.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/0.005632, allocations: 11.95 kB / 357.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.005664, allocations: 25.66 kB / 357.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.073e-05/0.005694, allocations: 322.8 kB / 357.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.00573, allocations: 16.86 kB / 357.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.005757, allocations: 23.98 kB / 357.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.137e-05/0.005818, allocations: 52.91 kB / 357.6 MB, free: 10.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00582, allocations: 0 / 357.6 MB, free: 10.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.652e-05/0.005906, allocations: 89.62 kB / 357.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.005919, allocations: 6.656 kB / 357.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005924, allocations: 0 / 357.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.005935, allocations: 0 / 357.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.103e-05/0.005977, allocations: 19.92 kB / 357.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.005981, allocations: 0 / 357.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.006012, allocations: 11.89 kB / 357.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.006017, allocations: 4 kB / 357.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.178e-05/0.006059, allocations: 104.1 kB / 357.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.05e-05/0.006079, allocations: 23.92 kB / 357.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.072e-05/0.00612, allocations: 40.84 kB / 357.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.31e-07/0.00612, allocations: 0 / 357.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 6.269e-05/0.006183, allocations: 77.64 kB / 357.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-06/0.006186, allocations: 4 kB / 357.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.51e-07/0.006186, allocations: 0 / 357.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.42e-07/0.006187, allocations: 0 / 357.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.328e-05/0.006211, allocations: 19.92 kB / 358 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-06/0.006212, allocations: 3.938 kB / 358 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.006234, allocations: 4 kB / 358 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-06/0.006237, allocations: 11.94 kB / 358 MB, free: 10.17 MB / 282.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 () * 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 3.924e-05/0.006276, allocations: 176.3 kB / 358.1 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.00629, allocations: 11.91 kB / 358.2 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.006392, allocations: 82.94 kB / 358.2 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006393, allocations: 0 / 358.2 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.006398, allocations: 3.938 kB / 358.2 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.0064, allocations: 4 kB / 358.2 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.006578, allocations: 318.5 kB / 358.6 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006579, allocations: 0 / 358.6 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.006601, allocations: 11.98 kB / 358.6 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006602, allocations: 3.938 kB / 358.6 MB, free: 9.504 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.006608, allocations: 3.938 kB / 358.6 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.006609, allocations: 0 / 358.6 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.00661, allocations: 4 kB / 358.6 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.105e-05/0.006681, allocations: 176.5 kB / 358.7 MB, free: 9.305 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.006708, allocations: 27.77 kB / 358.8 MB, free: 9.277 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.00672, allocations: 48 / 358.8 MB, free: 9.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.006762, allocations: 16.02 kB / 358.8 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.006787, allocations: 3.984 kB / 358.8 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.006789, allocations: 0 / 358.8 MB, free: 9.258 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.388e-05/0.006843, allocations: 136 kB / 358.9 MB, free: 9.125 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006843, allocations: 0 / 358.9 MB, free: 9.125 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.007036, allocations: 40 kB / 359 MB, free: 9.086 MB / 282.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 () * 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.0001937/0.00723, allocations: 0.7092 MB / 359.7 MB, free: 8.348 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.007355, allocations: 63.91 kB / 359.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007356, allocations: 0 / 359.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.007381, allocations: 19.98 kB / 359.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.007636, allocations: 8 kB / 359.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009279/0.008564, allocations: 1.675 MB / 361.4 MB, free: 6.496 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.008603, allocations: 85.31 kB / 361.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.063e-05/0.008634, allocations: 8.484 kB / 361.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.008675, allocations: 32.48 kB / 361.6 MB, free: 6.352 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.008676, allocations: 0 / 361.6 MB, free: 6.352 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.02376, allocations: 3.227 MB / 364.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.334, allocations: 4.156 kB / 364.8 MB, free: 3.082 MB / 282.7 MB " [Timeout remaining time 653] (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: 9.06979916896671] Failed to read output from testmodel.py, exit status != 0: 7.415748007595539 7.4248969670000005 7.419612002 Calling exit ...