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.001603/0.001603, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001933/0.001933, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.438/1.438, allocations: 207.6 MB / 233 MB, free: 9.969 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.009109/0.009109, allocations: 1.962 MB / 287.2 MB, free: 3.844 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.002315/0.002315, allocations: 76.22 kB / 401.8 MB, free: 51.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08841/0.09073, allocations: 49.69 MB / 451.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002355/0.09308, allocations: 1.983 MB / 453.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007071/0.09379, allocations: 0.5889 MB / 454 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.09385, allocations: 4 kB / 454.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.0939, allocations: 15.84 kB / 454.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.09401, allocations: 43.58 kB / 454.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.09419, allocations: 43.88 kB / 454.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.09434, allocations: 139.3 kB / 454.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.09444, allocations: 29.16 kB / 454.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.09451, allocations: 39.86 kB / 454.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.09459, allocations: 55.72 kB / 454.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.09461, allocations: 8 kB / 454.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.259e-05/0.09466, allocations: 20 kB / 454.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.09468, allocations: 27.84 kB / 454.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.09472, allocations: 59.67 kB / 454.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.09486, allocations: 107.5 kB / 454.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.09486, allocations: 7.922 kB / 454.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09486, allocations: 4 kB / 454.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.09487, allocations: 4 kB / 454.6 MB, free: 3.215 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.0004253/0.0953, allocations: 341.7 kB / 455 MB, free: 2.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.09533, allocations: 15.98 kB / 455 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.644e-05/0.09535, allocations: 38.73 kB / 455 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.09538, allocations: 16.84 kB / 455 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.09552, allocations: 154.1 kB / 455.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.09553, allocations: 8.375 kB / 455.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.09555, allocations: 8.375 kB / 455.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.09571, allocations: 89.78 kB / 455.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.09572, allocations: 0 / 455.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.09573, allocations: 7.984 kB / 455.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.09573, allocations: 4 kB / 455.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.09585, allocations: 51.97 kB / 455.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.09628, allocations: 351.6 kB / 455.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.0967, allocations: 66.53 kB / 455.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.09675, allocations: 24.88 kB / 455.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.09677, allocations: 0 / 455.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.094e-05/0.09678, allocations: 34.56 kB / 455.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.09678, allocations: 0 / 455.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002321/0.09701, allocations: 97.5 kB / 455.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.09703, allocations: 51.41 kB / 456 MB, free: 1.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.09714, allocations: 178.8 kB / 456.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.09715, allocations: 25.7 kB / 456.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.09719, allocations: 120 kB / 456.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.09719, allocations: 7.938 kB / 456.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.09723, allocations: 21.67 kB / 456.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.749e-05/0.09726, allocations: 326.8 kB / 456.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.09732, allocations: 32.78 kB / 456.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.09736, allocations: 12 kB / 456.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.771e-05/0.09745, allocations: 52.95 kB / 456.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.09745, allocations: 4 kB / 456.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001298/0.09758, allocations: 81.64 kB / 456.8 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.09759, allocations: 7.938 kB / 456.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.09759, allocations: 4 kB / 456.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.09761, allocations: 0 / 456.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.09768, allocations: 19.92 kB / 456.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.09768, allocations: 0 / 456.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.09774, allocations: 11.89 kB / 456.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.09775, allocations: 3.938 kB / 456.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.494e-05/0.09781, allocations: 104.1 kB / 457 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.482e-05/0.09785, allocations: 27.92 kB / 457 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.554e-05/0.09791, allocations: 32.84 kB / 457 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.71e-07/0.09791, allocations: 4 kB / 457 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001107/0.09802, allocations: 81.64 kB / 457.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.219e-06/0.09803, allocations: 4 kB / 457.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-06/0.09803, allocations: 0 / 457.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-06/0.09803, allocations: 3.938 kB / 457.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.09809, allocations: 19.92 kB / 457.1 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-06/0.09809, allocations: 0 / 457.1 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.09814, allocations: 0 / 457.1 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.09814, allocations: 4 kB / 457.1 MB, free: 0.5 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.043e-05/0.09818, allocations: 184.3 kB / 457.3 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.09821, allocations: 19.83 kB / 457.3 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.09835, allocations: 74.7 kB / 457.4 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.09835, allocations: 256 / 457.4 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.09836, allocations: 0 / 457.4 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.09836, allocations: 7.938 kB / 457.4 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.09871, allocations: 330.4 kB / 457.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.09871, allocations: 0 / 457.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.09877, allocations: 15.92 kB / 457.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.09877, allocations: 0 / 457.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.09878, allocations: 0 / 457.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.09878, allocations: 0 / 457.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.09878, allocations: 0 / 457.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.09899, allocations: 188.5 kB / 457.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.09904, allocations: 19.89 kB / 458 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.09907, allocations: 4 kB / 458 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.09915, allocations: 0 / 458 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.09918, allocations: 0 / 458 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.09918, allocations: 7.984 kB / 458 MB, free: 15.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.09932, allocations: 140 kB / 458.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09932, allocations: 0 / 458.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.09963, allocations: 35.94 kB / 458.1 MB, free: 15.4 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.0005431/0.1002, allocations: 0.717 MB / 458.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.1004, allocations: 63.89 kB / 458.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1004, allocations: 4 kB / 458.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.214e-05/0.1004, allocations: 19.98 kB / 459 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1008, allocations: 15.88 kB / 459 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1027, allocations: 1.676 MB / 460.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.103, allocations: 0.7041 MB / 461.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.065e-05/0.1031, allocations: 4.438 kB / 461.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.1031, allocations: 31.42 kB / 461.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1031, allocations: 0 / 461.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.1318, allocations: 2.642 MB / 464 MB, free: 9.336 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/10.94, allocations: 4.062 kB / 464 MB, free: 9.332 MB / 334.1 MB " [Timeout remaining time 649] (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 --stepSize=0.004 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSupplyValve.fmu > MEV_MEV.Test.TestSupplyValve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.410841083852574] Failed to read output from testmodel.py, exit status != 0: 11.043700840091333 11.061631932 10.963317739 Calling exit ...