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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 192.7 kB / 22.23 MB, free: 5.156 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.479/1.479, allocations: 207.6 MB / 233 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.009345/0.009345, allocations: 1.973 MB / 287.2 MB, free: 3.871 MB / 222.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.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"}) [Timeout 660] "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.002138/0.002138, allocations: 71.67 kB / 401.7 MB, free: 50.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07454/0.07668, allocations: 49.7 MB / 451.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002596/0.07928, allocations: 1.968 MB / 453.4 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008027/0.08008, allocations: 0.6006 MB / 454 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.08014, allocations: 4 kB / 454 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.252e-05/0.0802, allocations: 11.86 kB / 454 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.08031, allocations: 47.56 kB / 454.1 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.08051, allocations: 27.97 kB / 454.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.08068, allocations: 139.3 kB / 454.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.0808, allocations: 29.14 kB / 454.3 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.08087, allocations: 47.8 kB / 454.3 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.09e-05/0.08096, allocations: 63.7 kB / 454.4 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.08098, allocations: 8 kB / 454.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.124e-05/0.08104, allocations: 16 kB / 454.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.08107, allocations: 23.92 kB / 454.4 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.08112, allocations: 59.67 kB / 454.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.08129, allocations: 111.5 kB / 454.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.08129, allocations: 0 / 454.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.0813, allocations: 0 / 454.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.0813, allocations: 4 kB / 454.6 MB, free: 3.117 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.0004838/0.08179, allocations: 426.8 kB / 455 MB, free: 2.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.08183, allocations: 19.92 kB / 455 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.08186, allocations: 38.75 kB / 455.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.08189, allocations: 16.84 kB / 455.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.08205, allocations: 215.9 kB / 455.3 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.08206, allocations: 4.375 kB / 455.3 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.08207, allocations: 8.375 kB / 455.3 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.08225, allocations: 89.78 kB / 455.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.08226, allocations: 3.938 kB / 455.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.08227, allocations: 4 kB / 455.4 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.08228, allocations: 4 kB / 455.4 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.08241, allocations: 51.97 kB / 455.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.08288, allocations: 388.5 kB / 455.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.0833, allocations: 66.53 kB / 455.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.08335, allocations: 16.95 kB / 455.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.08337, allocations: 3.984 kB / 455.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.08338, allocations: 38.56 kB / 455.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.08338, allocations: 0 / 455.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002447/0.08363, allocations: 93.45 kB / 456 MB, free: 1.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.08365, allocations: 51.41 kB / 456.1 MB, free: 1.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.08377, allocations: 186.8 kB / 456.3 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.08378, allocations: 25.7 kB / 456.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.08383, allocations: 116 kB / 456.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.08384, allocations: 7.953 kB / 456.4 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.08387, allocations: 25.66 kB / 456.4 MB, free: 1.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.08392, allocations: 318.8 kB / 456.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.08398, allocations: 28.84 kB / 456.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-05/0.08402, allocations: 19.98 kB / 456.8 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.501e-05/0.08412, allocations: 48.84 kB / 456.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.08412, allocations: 3.938 kB / 456.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001359/0.08425, allocations: 81.62 kB / 456.9 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.08427, allocations: 7.938 kB / 456.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.08427, allocations: 0 / 456.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.08429, allocations: 0 / 456.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.08436, allocations: 15.98 kB / 457 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.08436, allocations: 4 kB / 457 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.08443, allocations: 15.89 kB / 457 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.08443, allocations: 8.109 kB / 457 MB, free: 484 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.026e-05/0.0845, allocations: 104.1 kB / 457.1 MB, free: 376 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.66e-05/0.08454, allocations: 20 kB / 457.1 MB, free: 356 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.159e-05/0.08461, allocations: 40.78 kB / 457.1 MB, free: 312 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.11e-07/0.08461, allocations: 0 / 457.1 MB, free: 312 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.000115/0.08473, allocations: 81.62 kB / 457.2 MB, free: 224 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.08473, allocations: 8 kB / 457.2 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-06/0.08473, allocations: 0 / 457.2 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-06/0.08474, allocations: 3.938 kB / 457.2 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.045e-05/0.08479, allocations: 15.94 kB / 457.3 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-06/0.08479, allocations: 3.984 kB / 457.3 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.08484, allocations: 4 kB / 457.3 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.08484, allocations: 4 kB / 457.3 MB, free: 184 kB / 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 7.488e-05/0.08492, allocations: 180.3 kB / 457.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.08495, allocations: 15.84 kB / 457.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.08516, allocations: 86.69 kB / 457.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.08516, allocations: 0 / 457.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.08517, allocations: 0 / 457.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.08517, allocations: 0 / 457.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.08565, allocations: 355.5 kB / 457.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.08565, allocations: 48 / 457.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.0857, allocations: 7.984 kB / 457.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.0857, allocations: 8.031 kB / 457.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.08571, allocations: 0 / 457.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.08571, allocations: 0 / 457.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.08571, allocations: 0 / 457.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.08592, allocations: 184.2 kB / 458.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.08601, allocations: 93.19 kB / 458.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.08603, allocations: 12 kB / 458.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.08611, allocations: 7.984 kB / 458.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.08615, allocations: 0 / 458.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.08615, allocations: 4 kB / 458.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.08628, allocations: 140 kB / 458.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.08628, allocations: 0 / 458.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.08661, allocations: 39.94 kB / 458.4 MB, free: 14.95 MB / 334.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.0005602/0.08717, allocations: 0.713 MB / 459.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.0874, allocations: 67.89 kB / 459.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.0874, allocations: 0 / 459.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.194e-05/0.08745, allocations: 16 kB / 459.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.08781, allocations: 19.95 kB / 459.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.0898, allocations: 1.668 MB / 460.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.09018, allocations: 0.7079 MB / 461.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.891e-05/0.09023, allocations: 8.422 kB / 461.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.0903, allocations: 31.42 kB / 461.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.0903, allocations: 0 / 461.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.1142, allocations: 2.523 MB / 464.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/7.995, allocations: 8 kB / 464.1 MB, free: 9 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.676309093134478] Failed to read output from testmodel.py, exit status != 0: 8.065784511854872 8.094242761 8.007600556 Calling exit ...