Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientValve.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.001415/0.001415, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.002266/0.002266, allocations: 223.9 kB / 22.26 MB, free: 5.129 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.485/1.485, allocations: 207.6 MB / 233 MB, free: 10 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.009187/0.009187, allocations: 1.966 MB / 287.2 MB, free: 3.957 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.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",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.002317/0.002317, allocations: 72.73 kB / 401.8 MB, free: 50.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07934/0.08166, allocations: 49.7 MB / 451.5 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002418/0.08408, allocations: 1.979 MB / 453.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007253/0.0848, allocations: 0.5967 MB / 454.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.08486, allocations: 4 kB / 454.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.778e-05/0.08491, allocations: 15.84 kB / 454.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.08503, allocations: 47.56 kB / 454.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.08521, allocations: 27.97 kB / 454.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.08536, allocations: 135.3 kB / 454.3 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.08547, allocations: 29.16 kB / 454.3 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.032e-05/0.08554, allocations: 55.78 kB / 454.4 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.08563, allocations: 55.72 kB / 454.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.08564, allocations: 8 kB / 454.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.218e-05/0.08569, allocations: 19.98 kB / 454.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.08571, allocations: 23.92 kB / 454.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.08576, allocations: 55.67 kB / 454.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.0859, allocations: 115.5 kB / 454.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.08591, allocations: 0 / 454.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.08591, allocations: 0 / 454.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.08591, allocations: 0 / 454.6 MB, free: 3.094 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.0004858/0.0864, allocations: 357.6 kB / 455 MB, free: 2.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.08644, allocations: 11.98 kB / 455 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.08648, allocations: 42.73 kB / 455 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.08651, allocations: 16.78 kB / 455.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.08666, allocations: 142.2 kB / 455.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.08668, allocations: 8.375 kB / 455.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.08669, allocations: 4.375 kB / 455.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.08686, allocations: 93.72 kB / 455.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.08688, allocations: 0 / 455.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.08689, allocations: 4 kB / 455.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.08689, allocations: 4 kB / 455.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.08703, allocations: 59.95 kB / 455.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.0875, allocations: 351.6 kB / 455.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.08793, allocations: 62.53 kB / 455.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.08798, allocations: 20.86 kB / 455.8 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.08799, allocations: 7.984 kB / 455.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.08801, allocations: 38.64 kB / 455.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.08801, allocations: 0 / 455.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000248/0.08826, allocations: 97.39 kB / 455.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.08829, allocations: 51.41 kB / 456 MB, free: 1.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.08842, allocations: 186.8 kB / 456.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.08842, allocations: 29.7 kB / 456.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.08847, allocations: 112 kB / 456.3 MB, free: 1.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.08848, allocations: 7.953 kB / 456.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.08852, allocations: 25.67 kB / 456.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.08856, allocations: 318.8 kB / 456.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.08862, allocations: 28.84 kB / 456.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.08867, allocations: 27.98 kB / 456.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.376e-05/0.08876, allocations: 48.78 kB / 456.7 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.08876, allocations: 0 / 456.7 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001318/0.0889, allocations: 85.62 kB / 456.8 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.08891, allocations: 7.938 kB / 456.8 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.08891, allocations: 4 kB / 456.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.08893, allocations: 0 / 456.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.089, allocations: 8 kB / 456.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.089, allocations: 0 / 456.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.11e-05/0.08906, allocations: 23.81 kB / 456.9 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.08907, allocations: 0 / 456.9 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.073e-05/0.08914, allocations: 104.1 kB / 457 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.484e-05/0.08918, allocations: 16 kB / 457 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.124e-05/0.08925, allocations: 44.78 kB / 457 MB, free: 496 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.72e-07/0.08925, allocations: 0 / 457 MB, free: 496 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001126/0.08936, allocations: 77.62 kB / 457.1 MB, free: 412 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.849e-06/0.08936, allocations: 4 kB / 457.1 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.92e-07/0.08937, allocations: 4.375 kB / 457.1 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-06/0.08937, allocations: 7.938 kB / 457.1 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/0.08942, allocations: 12 kB / 457.1 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.08942, allocations: 4 kB / 457.1 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.08947, allocations: 7.984 kB / 457.1 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-06/0.08947, allocations: 0 / 457.1 MB, free: 372 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 5.099e-05/0.08952, allocations: 180.2 kB / 457.3 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.08955, allocations: 19.84 kB / 457.3 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.0897, allocations: 82.69 kB / 457.4 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.08971, allocations: 0 / 457.4 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.08971, allocations: 4 kB / 457.4 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.08971, allocations: 0 / 457.4 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.09012, allocations: 322.4 kB / 457.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.09013, allocations: 0 / 457.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.09018, allocations: 8 kB / 457.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.09018, allocations: 0 / 457.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.09019, allocations: 7.969 kB / 457.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.09019, allocations: 0 / 457.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.09019, allocations: 4 kB / 457.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.0904, allocations: 180.2 kB / 457.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.09044, allocations: 19.89 kB / 458 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.09047, allocations: 7.938 kB / 458 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.09055, allocations: 4 kB / 458 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.09058, allocations: 7.984 kB / 458 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.09058, allocations: 0 / 458 MB, free: 15.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.09072, allocations: 140 kB / 458.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09072, allocations: 0 / 458.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.09103, allocations: 39.98 kB / 458.2 MB, free: 15.26 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.000508/0.09154, allocations: 0.7095 MB / 458.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.09175, allocations: 67.94 kB / 458.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.09175, allocations: 4 kB / 458.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.125e-05/0.09181, allocations: 15.98 kB / 459 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.09211, allocations: 12.06 kB / 459 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.09412, allocations: 1.676 MB / 460.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.09454, allocations: 0.7041 MB / 461.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.487e-05/0.09458, allocations: 8.672 kB / 461.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.387e-05/0.09465, allocations: 27.44 kB / 461.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09465, allocations: 0 / 461.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.1233, allocations: 2.641 MB / 464 MB, free: 9.211 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.83, allocations: 4.156 kB / 464 MB, free: 9.207 MB / 334.1 MB " [Timeout remaining time 649] (rm -f MEV_MEV.Test.TestPatientValve.pipe ; mkfifo MEV_MEV.Test.TestPatientValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientValve.pipe >> ../files/MEV_MEV.Test.TestPatientValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPatientValve_fmu --startTime=0 --stopTime=2 --stepSize=0.004 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPatientValve.fmu > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.390727894147858] Failed to read output from testmodel.py, exit status != 0: 10.934036362916231 10.961343717 10.870434634 Calling exit ...