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.00128/0.00128, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001392/0.001392, allocations: 213.5 kB / 23.03 MB, free: 4.922 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.376/1.376, allocations: 207.7 MB / 233.9 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.008502/0.008502, allocations: 1.954 MB / 288.1 MB, free: 3.664 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",fmuType="cs",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.002058/0.002058, allocations: 76.33 kB / 402.6 MB, free: 50.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07501/0.07707, allocations: 49.69 MB / 452.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002369/0.07944, allocations: 1.884 MB / 454.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.08013, allocations: 0.554 MB / 454.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.08019, allocations: 4 kB / 454.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.148e-05/0.08024, allocations: 19.78 kB / 454.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.08035, allocations: 43.64 kB / 454.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.08055, allocations: 39.89 kB / 454.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.08071, allocations: 139.3 kB / 454.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.08083, allocations: 33.08 kB / 455 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.08089, allocations: 51.73 kB / 455 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.08098, allocations: 47.78 kB / 455.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.08099, allocations: 11.94 kB / 455.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.434e-05/0.08105, allocations: 20 kB / 455.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.08107, allocations: 19.92 kB / 455.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.08112, allocations: 43.8 kB / 455.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.08126, allocations: 127.4 kB / 455.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.08126, allocations: 3.984 kB / 455.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08127, allocations: 0 / 455.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.08127, allocations: 0 / 455.3 MB, free: 3.027 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.0004588/0.08173, allocations: 345.7 kB / 455.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.08177, allocations: 15.98 kB / 455.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.284e-05/0.08178, allocations: 192 / 455.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.0818, allocations: 42.73 kB / 455.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.08184, allocations: 12.84 kB / 455.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.08198, allocations: 146.2 kB / 455.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.08199, allocations: 8.375 kB / 455.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.08201, allocations: 8.375 kB / 455.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.08218, allocations: 93.59 kB / 455.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.08219, allocations: 0 / 455.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.0822, allocations: 0 / 455.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.0822, allocations: 0 / 455.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.08232, allocations: 59.91 kB / 456 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.08275, allocations: 339.6 kB / 456.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.08318, allocations: 62.64 kB / 456.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.08323, allocations: 20.84 kB / 456.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.08324, allocations: 4 kB / 456.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.08326, allocations: 34.5 kB / 456.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.08326, allocations: 0 / 456.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002286/0.08349, allocations: 97.69 kB / 456.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.08351, allocations: 55.41 kB / 456.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.08363, allocations: 186.7 kB / 456.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.08364, allocations: 29.7 kB / 456.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.08368, allocations: 112 kB / 456.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.979e-06/0.08369, allocations: 11.95 kB / 456.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.08372, allocations: 21.67 kB / 456.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.08376, allocations: 322.8 kB / 457.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.08382, allocations: 24.84 kB / 457.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.08386, allocations: 19.98 kB / 457.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.002e-05/0.08395, allocations: 48.97 kB / 457.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.08395, allocations: 0 / 457.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001298/0.08408, allocations: 97.5 kB / 457.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.08409, allocations: 11.92 kB / 457.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.0841, allocations: 0 / 457.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.08411, allocations: 0 / 457.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.861e-05/0.08418, allocations: 12 kB / 457.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.08418, allocations: 0 / 457.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/0.08425, allocations: 19.88 kB / 457.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.08425, allocations: 0 / 457.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.785e-05/0.08432, allocations: 100.1 kB / 457.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.221e-05/0.08436, allocations: 19.98 kB / 457.6 MB, free: 500 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.655e-05/0.08443, allocations: 40.84 kB / 457.6 MB, free: 456 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.42e-07/0.08443, allocations: 0 / 457.6 MB, free: 456 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001071/0.08454, allocations: 81.58 kB / 457.7 MB, free: 368 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.199e-06/0.08454, allocations: 7.984 kB / 457.7 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.08454, allocations: 3.938 kB / 457.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-06/0.08455, allocations: 0 / 457.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.066e-05/0.0846, allocations: 12 kB / 457.8 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-06/0.0846, allocations: 0 / 457.8 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.08464, allocations: 4 kB / 457.8 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.08465, allocations: 8 kB / 457.8 MB, free: 332 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.609e-05/0.08469, allocations: 180.2 kB / 457.9 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.08472, allocations: 19.84 kB / 458 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.08487, allocations: 78.89 kB / 458 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.08487, allocations: 0 / 458 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.08487, allocations: 8 kB / 458 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.08488, allocations: 3.984 kB / 458 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.0853, allocations: 314.3 kB / 458.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.0853, allocations: 4.031 kB / 458.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.08535, allocations: 8 kB / 458.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.08535, allocations: 0 / 458.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.08536, allocations: 0 / 458.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.08536, allocations: 4 kB / 458.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.08536, allocations: 0 / 458.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.08556, allocations: 184.2 kB / 458.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.0856, allocations: 19.89 kB / 458.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.08563, allocations: 3.938 kB / 458.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.08572, allocations: 7.984 kB / 458.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.08575, allocations: 4 kB / 458.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.08575, allocations: 4 kB / 458.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.08591, allocations: 144 kB / 458.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08591, allocations: 0 / 458.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.08621, allocations: 32 kB / 458.8 MB, free: 15.23 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.0006561/0.08687, allocations: 0.7131 MB / 459.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.08706, allocations: 55.97 kB / 459.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.08706, allocations: 4 kB / 459.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.08711, allocations: 23.92 kB / 459.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.08739, allocations: 15.84 kB / 459.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.08925, allocations: 1.673 MB / 461.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.074e-05/0.08933, allocations: 93.25 kB / 461.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.412e-05/0.08938, allocations: 12.41 kB / 461.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.08944, allocations: 31.42 kB / 461.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.08944, allocations: 0 / 461.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.1116, allocations: 2.743 MB / 464.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/10.99, allocations: 8.141 kB / 464.1 MB, free: 9.68 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 os._exit(0), Time elapsed: 13.471506153000519] Failed to read output from testmodel.py, exit status != 0: 11.148600228014402 11.167345599 11.082970462 Calling exit ...