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.001991/0.001991, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002346/0.002346, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.515/1.515, allocations: 207.7 MB / 233.1 MB, free: 9.777 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.01002/0.01002, allocations: 1.97 MB / 287.3 MB, free: 3.656 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.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.002214/0.002214, allocations: 72.92 kB / 401.8 MB, free: 50.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08067/0.08288, allocations: 49.71 MB / 451.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002862/0.08574, allocations: 1.893 MB / 453.4 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008363/0.08658, allocations: 0.554 MB / 453.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.08664, allocations: 4 kB / 453.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.196e-05/0.0867, allocations: 19.78 kB / 453.9 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.0869, allocations: 39.64 kB / 454 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.08711, allocations: 39.89 kB / 454 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.08726, allocations: 135.3 kB / 454.2 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.08737, allocations: 29.16 kB / 454.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.08744, allocations: 47.78 kB / 454.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.08753, allocations: 47.78 kB / 454.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.08755, allocations: 8 kB / 454.3 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.738e-05/0.08762, allocations: 16 kB / 454.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.08767, allocations: 23.86 kB / 454.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.08773, allocations: 55.73 kB / 454.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.08788, allocations: 115.5 kB / 454.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.08789, allocations: 0 / 454.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08789, allocations: 0 / 454.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.0879, allocations: 0 / 454.5 MB, free: 3.043 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.0005233/0.08842, allocations: 349.7 kB / 454.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.08846, allocations: 11.98 kB / 454.8 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.08849, allocations: 38.75 kB / 454.9 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.08852, allocations: 16.84 kB / 454.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.08867, allocations: 154.1 kB / 455 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.08868, allocations: 8.375 kB / 455.1 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.0887, allocations: 8.359 kB / 455.1 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.08886, allocations: 93.78 kB / 455.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.08887, allocations: 0 / 455.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.08888, allocations: 4 kB / 455.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.08889, allocations: 0 / 455.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.089, allocations: 55.97 kB / 455.2 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.08951, allocations: 331.6 kB / 455.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.08997, allocations: 70.47 kB / 455.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.09002, allocations: 24.94 kB / 455.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.09004, allocations: 0 / 455.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.09005, allocations: 34.56 kB / 455.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.09005, allocations: 0 / 455.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002294/0.09028, allocations: 89.52 kB / 455.8 MB, free: 1.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.09031, allocations: 59.39 kB / 455.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.09042, allocations: 179.6 kB / 456 MB, free: 1.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.09043, allocations: 29.64 kB / 456 MB, free: 1.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.09047, allocations: 116 kB / 456.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.09048, allocations: 15.89 kB / 456.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.09051, allocations: 21.66 kB / 456.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.09059, allocations: 322.8 kB / 456.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.443e-05/0.09067, allocations: 28.84 kB / 456.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.931e-05/0.09071, allocations: 12 kB / 456.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.935e-05/0.0908, allocations: 52.83 kB / 456.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.0908, allocations: 0 / 456.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001281/0.09093, allocations: 89.77 kB / 456.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.09095, allocations: 7.938 kB / 456.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.09095, allocations: 0 / 456.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.09096, allocations: 4 kB / 456.7 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.09103, allocations: 15.92 kB / 456.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.09104, allocations: 0 / 456.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.0911, allocations: 11.89 kB / 456.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.0911, allocations: 3.938 kB / 456.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001417/0.09124, allocations: 104.1 kB / 456.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.38e-05/0.09128, allocations: 23.98 kB / 456.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.685e-05/0.09134, allocations: 36.84 kB / 456.9 MB, free: 472 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.42e-07/0.09134, allocations: 0 / 456.9 MB, free: 472 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001101/0.09145, allocations: 77.64 kB / 456.9 MB, free: 388 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.959e-06/0.09146, allocations: 4 kB / 456.9 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-06/0.09146, allocations: 3.938 kB / 456.9 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-06/0.09146, allocations: 3.938 kB / 456.9 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.09151, allocations: 19.98 kB / 457 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-06/0.09151, allocations: 0 / 457 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.09156, allocations: 4 kB / 457 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-06/0.09156, allocations: 4 kB / 457 MB, free: 348 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 4.275e-05/0.09161, allocations: 176.3 kB / 457.1 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.09164, allocations: 19.84 kB / 457.2 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.09178, allocations: 82.62 kB / 457.2 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.09178, allocations: 4 kB / 457.3 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.09179, allocations: 0 / 457.3 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.09179, allocations: 0 / 457.3 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.09227, allocations: 318.9 kB / 457.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.09227, allocations: 4 kB / 457.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.09232, allocations: 11.94 kB / 457.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.09232, allocations: 0 / 457.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.09233, allocations: 4.047 kB / 457.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.09233, allocations: 4 kB / 457.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.09234, allocations: 3.984 kB / 457.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.09255, allocations: 176.2 kB / 457.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.09264, allocations: 23.83 kB / 457.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.09266, allocations: 0 / 457.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.09274, allocations: 8.031 kB / 457.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.09278, allocations: 7.984 kB / 457.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.09278, allocations: 4 kB / 457.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.09291, allocations: 140 kB / 457.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09291, allocations: 0 / 457.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.09321, allocations: 39.98 kB / 458 MB, free: 15.24 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.0005841/0.09379, allocations: 0.7053 MB / 458.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.094, allocations: 63.91 kB / 458.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.094, allocations: 4 kB / 458.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.216e-05/0.09405, allocations: 19.92 kB / 458.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.09445, allocations: 8 kB / 458.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.09654, allocations: 1.68 MB / 460.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.608e-05/0.09663, allocations: 89.19 kB / 460.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.838e-05/0.09668, allocations: 12.42 kB / 460.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.09673, allocations: 23.44 kB / 460.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.09673, allocations: 0 / 460.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.1275, allocations: 3.096 MB / 463.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.42, allocations: 8.062 kB / 463.7 MB, free: 9.34 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.165827851742506] Failed to read output from testmodel.py, exit status != 0: 11.518946971744299 11.534626553 11.443775666 Calling exit ...