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.001342/0.001342, 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.001403/0.001403, allocations: 211.6 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.431/1.431, allocations: 207.7 MB / 233.1 MB, free: 9.785 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.01544/0.01544, allocations: 1.954 MB / 287.3 MB, free: 3.773 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.002303/0.002303, allocations: 69.59 kB / 401.8 MB, free: 50.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08195/0.08425, allocations: 49.7 MB / 451.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002626/0.08688, allocations: 1.894 MB / 453.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008619/0.08774, allocations: 0.554 MB / 453.9 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.08781, allocations: 0 / 453.9 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.988e-05/0.08787, allocations: 19.73 kB / 453.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.08799, allocations: 51.62 kB / 454 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.08833, allocations: 35.89 kB / 454 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.08852, allocations: 139.3 kB / 454.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.08867, allocations: 21.16 kB / 454.2 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/0.08875, allocations: 47.86 kB / 454.2 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.008e-05/0.08884, allocations: 51.7 kB / 454.3 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.08886, allocations: 8 kB / 454.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.521e-05/0.08893, allocations: 23.94 kB / 454.3 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.08895, allocations: 15.92 kB / 454.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.089, allocations: 51.78 kB / 454.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.08918, allocations: 119.5 kB / 454.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.08918, allocations: 0 / 454.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.08919, allocations: 0 / 454.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.08919, allocations: 0 / 454.5 MB, free: 3.062 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.0005255/0.08972, allocations: 353.7 kB / 454.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.08976, allocations: 11.98 kB / 454.8 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.0898, allocations: 38.75 kB / 454.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.08984, allocations: 12.84 kB / 454.9 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.09005, allocations: 150.2 kB / 455 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.09007, allocations: 4.375 kB / 455 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.09009, allocations: 16.31 kB / 455.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.09039, allocations: 89.78 kB / 455.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.0904, allocations: 0 / 455.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.09042, allocations: 0 / 455.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.09042, allocations: 4 kB / 455.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.09055, allocations: 55.97 kB / 455.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.09105, allocations: 339.6 kB / 455.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.09149, allocations: 70.47 kB / 455.6 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.09155, allocations: 20.94 kB / 455.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.09157, allocations: 0 / 455.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.09159, allocations: 34.56 kB / 455.7 MB, free: 1.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.09159, allocations: 3.984 kB / 455.7 MB, free: 1.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003421/0.09194, allocations: 89.52 kB / 455.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.09196, allocations: 55.39 kB / 455.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.0921, allocations: 183.6 kB / 456 MB, free: 1.398 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.09211, allocations: 25.7 kB / 456 MB, free: 1.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.09217, allocations: 119.9 kB / 456.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.09218, allocations: 15.89 kB / 456.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.09221, allocations: 21.72 kB / 456.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.09227, allocations: 322.8 kB / 456.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.09233, allocations: 20.84 kB / 456.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.356e-05/0.09237, allocations: 20 kB / 456.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.09249, allocations: 40.84 kB / 456.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.09249, allocations: 0 / 456.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001383/0.09263, allocations: 89.81 kB / 456.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.09264, allocations: 11.94 kB / 456.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.09265, allocations: 0 / 456.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.09266, allocations: 4 kB / 456.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.09274, allocations: 15.92 kB / 456.7 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.09274, allocations: 4 kB / 456.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.09281, allocations: 7.891 kB / 456.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.09281, allocations: 8 kB / 456.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.033e-05/0.09288, allocations: 104.1 kB / 456.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.554e-05/0.09292, allocations: 15.98 kB / 456.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.936e-05/0.09299, allocations: 44.84 kB / 456.9 MB, free: 492 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.81e-07/0.09299, allocations: 0 / 456.9 MB, free: 492 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001142/0.0931, allocations: 77.58 kB / 456.9 MB, free: 408 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.56e-06/0.09311, allocations: 8 kB / 456.9 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.72e-07/0.09311, allocations: 0 / 456.9 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/0.09311, allocations: 3.938 kB / 456.9 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.09316, allocations: 15.92 kB / 457 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-06/0.09316, allocations: 0 / 457 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.09321, allocations: 7.938 kB / 457 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-06/0.09322, allocations: 0 / 457 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 4.591e-05/0.09326, allocations: 188.3 kB / 457.2 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.0933, allocations: 15.84 kB / 457.2 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.09352, allocations: 82.62 kB / 457.2 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.09352, allocations: 0 / 457.2 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.09352, allocations: 0 / 457.2 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.09353, allocations: 0 / 457.2 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.09393, allocations: 318.4 kB / 457.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.09393, allocations: 0 / 457.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.09399, allocations: 16.14 kB / 457.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.09399, allocations: 4 kB / 457.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.094, allocations: 4 kB / 457.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.094, allocations: 0 / 457.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.094, allocations: 0 / 457.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.09421, allocations: 176.3 kB / 457.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.09426, allocations: 27.83 kB / 457.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.09428, allocations: 0 / 457.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.09437, allocations: 0 / 457.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.09441, allocations: 7.984 kB / 457.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.09441, allocations: 7.938 kB / 457.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.09455, allocations: 140 kB / 457.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09455, allocations: 0 / 457.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003487/0.0949, allocations: 36 kB / 458 MB, free: 15.27 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.0006069/0.0955, allocations: 0.7096 MB / 458.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.09574, allocations: 63.91 kB / 458.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.09574, allocations: 0 / 458.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.0958, allocations: 31.95 kB / 458.8 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.00036/0.09616, allocations: 8 kB / 458.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.09864, allocations: 1.676 MB / 460.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.305e-05/0.09874, allocations: 89.25 kB / 460.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.581e-05/0.09878, allocations: 8.422 kB / 460.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.09884, allocations: 31.38 kB / 460.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.09884, allocations: 0 / 460.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.1289, allocations: 3.096 MB / 463.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.41, allocations: 11.84 kB / 463.7 MB, free: 9.352 MB / 334.1 MB " [Timeout remaining time 648] (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.94142503477633] Failed to read output from testmodel.py, exit status != 0: 11.51994656259194 11.548040768 11.454137537 Calling exit ...